Package org.web3j.protocol.eea.crypto
Class RawPrivateTransaction
java.lang.Object
org.web3j.crypto.RawTransaction
org.web3j.protocol.eea.crypto.RawPrivateTransaction
- Direct Known Subclasses:
SignedRawPrivateTransaction
public class RawPrivateTransaction
extends org.web3j.crypto.RawTransaction
Transaction class used for signing transactions locally.
For the specification, refer to p4 of the yellow paper.
For the specification, refer to p4 of the yellow paper.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedRawPrivateTransaction(long chainId, BigInteger nonce, BigInteger maxPriorityFeePerGas, BigInteger maxFeePerGas, BigInteger gasLimit, String to, String data, Base64String privateFrom, List<Base64String> privateFor, Base64String privacyGroupId, Restriction restriction) protectedRawPrivateTransaction(BigInteger nonce, BigInteger gasPrice, BigInteger gasLimit, String to, String data, Base64String privateFrom, List<Base64String> privateFor, Base64String privacyGroupId, Restriction restriction) protectedRawPrivateTransaction(IPrivateTransaction privateTransaction) -
Method Summary
Modifier and TypeMethodDescriptionstatic RawPrivateTransactioncreateContractTransaction(long chainId, BigInteger nonce, BigInteger maxPriorityFeePerGas, BigInteger maxFeePerGas, BigInteger gasLimit, String data, Base64String privateFrom, List<Base64String> privateFor, Base64String privacyGroupId, Restriction restriction) static RawPrivateTransactioncreateContractTransaction(BigInteger nonce, BigInteger gasPrice, BigInteger gasLimit, String data, Base64String privateFrom, List<Base64String> privateFor, Base64String privacyGroupId, Restriction restriction) static RawPrivateTransactioncreateContractTransaction(BigInteger nonce, BigInteger gasPrice, BigInteger gasLimit, String data, Base64String privateFrom, Base64String privacyGroupId, Restriction restriction) static RawPrivateTransactioncreateTransaction(long chainId, BigInteger nonce, BigInteger maxPriorityFeePerGas, BigInteger maxFeePerGas, BigInteger gasLimit, String to, String data, Base64String privateFrom, List<Base64String> privateFor, Base64String privacyGroupId, Restriction restriction) static RawPrivateTransactioncreateTransaction(long chainId, BigInteger nonce, BigInteger maxPriorityFeePerGas, BigInteger maxFeePerGas, BigInteger gasLimit, String to, String data, Base64String privateFrom, List<Base64String> privateFor, Restriction restriction) static RawPrivateTransactioncreateTransaction(long chainId, BigInteger nonce, BigInteger maxPriorityFeePerGas, BigInteger maxFeePerGas, BigInteger gasLimit, String to, String data, Base64String privateFrom, Base64String privacyGroupId, Restriction restriction) static RawPrivateTransactioncreateTransaction(BigInteger nonce, BigInteger gasPrice, BigInteger gasLimit, String to, String data, Base64String privateFrom, List<Base64String> privateFor, Base64String privacyGroupId, Restriction restriction) static RawPrivateTransactioncreateTransaction(BigInteger nonce, BigInteger gasPrice, BigInteger gasLimit, String to, String data, Base64String privateFrom, List<Base64String> privateFor, Restriction restriction) static RawPrivateTransactioncreateTransaction(BigInteger nonce, BigInteger gasPrice, BigInteger gasLimit, String to, String data, Base64String privateFrom, Base64String privacyGroupId, Restriction restriction) Methods inherited from class org.web3j.crypto.RawTransaction
createContractTransaction, createEtherTransaction, createEtherTransaction, createTransaction, createTransaction, createTransaction, createTransaction, createTransaction, createTransaction, createTransaction, createTransaction, createTransaction, getData, getGasLimit, getGasPrice, getNonce, getTo, getTransaction, getType, getValue
-
Constructor Details
-
RawPrivateTransaction
-
RawPrivateTransaction
protected RawPrivateTransaction(BigInteger nonce, BigInteger gasPrice, BigInteger gasLimit, String to, String data, Base64String privateFrom, List<Base64String> privateFor, Base64String privacyGroupId, Restriction restriction) -
RawPrivateTransaction
protected RawPrivateTransaction(long chainId, BigInteger nonce, BigInteger maxPriorityFeePerGas, BigInteger maxFeePerGas, BigInteger gasLimit, String to, String data, Base64String privateFrom, List<Base64String> privateFor, Base64String privacyGroupId, Restriction restriction)
-
-
Method Details
-
createContractTransaction
public static RawPrivateTransaction createContractTransaction(BigInteger nonce, BigInteger gasPrice, BigInteger gasLimit, String data, Base64String privateFrom, List<Base64String> privateFor, Base64String privacyGroupId, Restriction restriction) -
createContractTransaction
public static RawPrivateTransaction createContractTransaction(BigInteger nonce, BigInteger gasPrice, BigInteger gasLimit, String data, Base64String privateFrom, Base64String privacyGroupId, Restriction restriction) -
createContractTransaction
public static RawPrivateTransaction createContractTransaction(long chainId, BigInteger nonce, BigInteger maxPriorityFeePerGas, BigInteger maxFeePerGas, BigInteger gasLimit, String data, Base64String privateFrom, List<Base64String> privateFor, Base64String privacyGroupId, Restriction restriction) -
createTransaction
public static RawPrivateTransaction createTransaction(BigInteger nonce, BigInteger gasPrice, BigInteger gasLimit, String to, String data, Base64String privateFrom, List<Base64String> privateFor, Base64String privacyGroupId, Restriction restriction) -
createTransaction
public static RawPrivateTransaction createTransaction(BigInteger nonce, BigInteger gasPrice, BigInteger gasLimit, String to, String data, Base64String privateFrom, Base64String privacyGroupId, Restriction restriction) -
createTransaction
public static RawPrivateTransaction createTransaction(BigInteger nonce, BigInteger gasPrice, BigInteger gasLimit, String to, String data, Base64String privateFrom, List<Base64String> privateFor, Restriction restriction) -
createTransaction
public static RawPrivateTransaction createTransaction(long chainId, BigInteger nonce, BigInteger maxPriorityFeePerGas, BigInteger maxFeePerGas, BigInteger gasLimit, String to, String data, Base64String privateFrom, List<Base64String> privateFor, Base64String privacyGroupId, Restriction restriction) -
createTransaction
public static RawPrivateTransaction createTransaction(long chainId, BigInteger nonce, BigInteger maxPriorityFeePerGas, BigInteger maxFeePerGas, BigInteger gasLimit, String to, String data, Base64String privateFrom, Base64String privacyGroupId, Restriction restriction) -
createTransaction
public static RawPrivateTransaction createTransaction(long chainId, BigInteger nonce, BigInteger maxPriorityFeePerGas, BigInteger maxFeePerGas, BigInteger gasLimit, String to, String data, Base64String privateFrom, List<Base64String> privateFor, Restriction restriction) -
getPrivateFrom
-
getPrivateFor
-
getPrivacyGroupId
-
getRestriction
-
getPrivateTransaction
-