Class LegacyPrivateTransaction
java.lang.Object
org.web3j.protocol.eea.crypto.transaction.type.LegacyPrivateTransaction
- All Implemented Interfaces:
org.web3j.crypto.transaction.type.ITransaction,IPrivateTransaction
- Direct Known Subclasses:
PrivateTransaction1559
-
Constructor Summary
ConstructorsConstructorDescriptionLegacyPrivateTransaction(BigInteger nonce, BigInteger gasPrice, BigInteger gasLimit, String to, String data, Base64String privateFrom, List<Base64String> privateFor, Base64String privacyGroupId, Restriction restriction) -
Method Summary
Modifier and TypeMethodDescriptionList<org.web3j.rlp.RlpType>asRlpValues(org.web3j.crypto.Sign.SignatureData signatureData) static LegacyPrivateTransactioncreateContractTransaction(BigInteger nonce, BigInteger gasPrice, BigInteger gasLimit, String data, Base64String privateFrom, List<Base64String> privateFor, Base64String privacyGroupId, Restriction restriction) static LegacyPrivateTransactioncreateContractTransaction(BigInteger nonce, BigInteger gasPrice, BigInteger gasLimit, String data, Base64String privateFrom, Base64String privacyGroupId, Restriction restriction) static LegacyPrivateTransactioncreateTransaction(BigInteger nonce, BigInteger gasPrice, BigInteger gasLimit, String to, String data, Base64String privateFrom, List<Base64String> privateFor, Base64String privacyGroupId, Restriction restriction) static LegacyPrivateTransactioncreateTransaction(BigInteger nonce, BigInteger gasPrice, BigInteger gasLimit, String to, String data, Base64String privateFrom, List<Base64String> privateFor, Restriction restriction) static LegacyPrivateTransactioncreateTransaction(BigInteger nonce, BigInteger gasPrice, BigInteger gasLimit, String to, String data, Base64String privateFrom, Base64String privacyGroupId, Restriction restriction) static LegacyPrivateTransactioncreateTransaction(BigInteger nonce, BigInteger gasPrice, BigInteger gasLimit, String to, Base64String privateFrom, List<Base64String> privateFor, Base64String privacyGroupId, Restriction restriction) getData()getNonce()getTo()org.web3j.crypto.transaction.type.TransactionTypegetType()getValue()
-
Constructor Details
-
LegacyPrivateTransaction
public LegacyPrivateTransaction(BigInteger nonce, BigInteger gasPrice, BigInteger gasLimit, String to, String data, Base64String privateFrom, List<Base64String> privateFor, Base64String privacyGroupId, Restriction restriction)
-
-
Method Details
-
createContractTransaction
public static LegacyPrivateTransaction createContractTransaction(BigInteger nonce, BigInteger gasPrice, BigInteger gasLimit, String data, Base64String privateFrom, List<Base64String> privateFor, Base64String privacyGroupId, Restriction restriction) -
createContractTransaction
public static LegacyPrivateTransaction createContractTransaction(BigInteger nonce, BigInteger gasPrice, BigInteger gasLimit, String data, Base64String privateFrom, Base64String privacyGroupId, Restriction restriction) -
createTransaction
public static LegacyPrivateTransaction createTransaction(BigInteger nonce, BigInteger gasPrice, BigInteger gasLimit, String to, String data, Base64String privateFrom, List<Base64String> privateFor, Base64String privacyGroupId, Restriction restriction) -
createTransaction
public static LegacyPrivateTransaction createTransaction(BigInteger nonce, BigInteger gasPrice, BigInteger gasLimit, String to, Base64String privateFrom, List<Base64String> privateFor, Base64String privacyGroupId, Restriction restriction) -
createTransaction
public static LegacyPrivateTransaction createTransaction(BigInteger nonce, BigInteger gasPrice, BigInteger gasLimit, String to, String data, Base64String privateFrom, Base64String privacyGroupId, Restriction restriction) -
createTransaction
public static LegacyPrivateTransaction createTransaction(BigInteger nonce, BigInteger gasPrice, BigInteger gasLimit, String to, String data, Base64String privateFrom, List<Base64String> privateFor, Restriction restriction) -
asRlpValues
- Specified by:
asRlpValuesin interfaceorg.web3j.crypto.transaction.type.ITransaction
-
getNonce
- Specified by:
getNoncein interfaceorg.web3j.crypto.transaction.type.ITransaction
-
getGasPrice
- Specified by:
getGasPricein interfaceorg.web3j.crypto.transaction.type.ITransaction
-
getGasLimit
- Specified by:
getGasLimitin interfaceorg.web3j.crypto.transaction.type.ITransaction
-
getTo
- Specified by:
getToin interfaceorg.web3j.crypto.transaction.type.ITransaction
-
getValue
- Specified by:
getValuein interfaceorg.web3j.crypto.transaction.type.ITransaction
-
getData
- Specified by:
getDatain interfaceorg.web3j.crypto.transaction.type.ITransaction
-
getType
public org.web3j.crypto.transaction.type.TransactionType getType()- Specified by:
getTypein interfaceorg.web3j.crypto.transaction.type.ITransaction
-
getPrivateFrom
- Specified by:
getPrivateFromin interfaceIPrivateTransaction
-
getPrivateFor
- Specified by:
getPrivateForin interfaceIPrivateTransaction
-
getPrivacyGroupId
- Specified by:
getPrivacyGroupIdin interfaceIPrivateTransaction
-
getRestriction
- Specified by:
getRestrictionin interfaceIPrivateTransaction
-