Package org.web3j.quorum.methods.request
Class PrivateTransaction
java.lang.Object
org.web3j.protocol.core.methods.request.Transaction
org.web3j.quorum.methods.request.PrivateTransaction
public class PrivateTransaction
extends org.web3j.protocol.core.methods.request.Transaction
Quorum's Transaction object.
This is almost identical to the Ethereum Transaction with the exception that it provides
additional fields specific to GoQuorum
-
Field Summary
Fields inherited from class org.web3j.protocol.core.methods.request.Transaction
DEFAULT_GAS -
Constructor Summary
ConstructorsConstructorDescriptionPrivateTransaction(String from, BigInteger nonce, BigInteger gasLimit, String to, BigInteger value, String data, String privateFrom, List<String> privateFor) PrivateTransaction(String from, BigInteger nonce, BigInteger gasLimit, String to, BigInteger value, String data, String privateFrom, List<String> privateFor, PrivacyFlag privacyFlag) PrivateTransaction(String from, BigInteger nonce, BigInteger gasLimit, String to, BigInteger value, String data, String privateFrom, List<String> privateFor, PrivacyFlag privacyFlag, List<String> mandatoryFor) -
Method Summary
Modifier and TypeMethodDescriptionintvoidsetMandatoryFor(List<String> mandatoryFor) voidsetPrivacyFlag(PrivacyFlag privacyFlag) voidsetPrivateFor(List<String> privateFor) voidsetPrivateFrom(String privateFrom) Methods inherited from class org.web3j.protocol.core.methods.request.Transaction
createContractTransaction, createContractTransaction, createEthCallTransaction, createEthCallTransaction, createEtherTransaction, createFunctionCallTransaction, createFunctionCallTransaction, getChainId, getData, getFrom, getGas, getGasPrice, getMaxFeePerGas, getMaxPriorityFeePerGas, getNonce, getTo, getValue
-
Constructor Details
-
PrivateTransaction
public PrivateTransaction(String from, BigInteger nonce, BigInteger gasLimit, String to, BigInteger value, String data, String privateFrom, List<String> privateFor) -
PrivateTransaction
public PrivateTransaction(String from, BigInteger nonce, BigInteger gasLimit, String to, BigInteger value, String data, String privateFrom, List<String> privateFor, PrivacyFlag privacyFlag) -
PrivateTransaction
public PrivateTransaction(String from, BigInteger nonce, BigInteger gasLimit, String to, BigInteger value, String data, String privateFrom, List<String> privateFor, PrivacyFlag privacyFlag, List<String> mandatoryFor)
-
-
Method Details
-
getPrivateFrom
-
setPrivateFrom
-
getPrivateFor
-
setPrivateFor
-
getPrivacyFlag
public int getPrivacyFlag() -
setPrivacyFlag
-
getMandatoryFor
-
setMandatoryFor
-