Package org.web3j.crypto
Class RawTransaction
java.lang.Object
org.web3j.crypto.RawTransaction
- Direct Known Subclasses:
SignedRawTransaction
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
ConstructorsModifierConstructorDescriptionprotectedRawTransaction(BigInteger nonce, BigInteger gasPrice, BigInteger gasLimit, String to, BigInteger value, String data) protectedRawTransaction(ITransaction transaction) -
Method Summary
Modifier and TypeMethodDescriptionstatic RawTransactioncreateContractTransaction(BigInteger nonce, BigInteger gasPrice, BigInteger gasLimit, BigInteger value, String init) static RawTransactioncreateEtherTransaction(long chainId, BigInteger nonce, BigInteger gasLimit, String to, BigInteger value, BigInteger maxPriorityFeePerGas, BigInteger maxFeePerGas) static RawTransactioncreateEtherTransaction(BigInteger nonce, BigInteger gasPrice, BigInteger gasLimit, String to, BigInteger value) static RawTransactioncreateTransaction(long chainId, BigInteger nonce, BigInteger gasLimit, String to, BigInteger value, String data, BigInteger maxPriorityFeePerGas, BigInteger maxFeePerGas) static RawTransactioncreateTransaction(long chainId, BigInteger nonce, BigInteger gasPrice, BigInteger gasLimit, String to, BigInteger value, String data, List<AccessListObject> accessList) static RawTransactioncreateTransaction(BigInteger nonce, BigInteger gasPrice, BigInteger gasLimit, String to, String data) static RawTransactioncreateTransaction(BigInteger nonce, BigInteger gasPrice, BigInteger gasLimit, String to, BigInteger value, String data) getData()getNonce()getTo()getType()getValue()
-
Constructor Details
-
RawTransaction
-
RawTransaction
protected RawTransaction(BigInteger nonce, BigInteger gasPrice, BigInteger gasLimit, String to, BigInteger value, String data)
-
-
Method Details
-
createContractTransaction
public static RawTransaction createContractTransaction(BigInteger nonce, BigInteger gasPrice, BigInteger gasLimit, BigInteger value, String init) -
createEtherTransaction
public static RawTransaction createEtherTransaction(BigInteger nonce, BigInteger gasPrice, BigInteger gasLimit, String to, BigInteger value) -
createEtherTransaction
public static RawTransaction createEtherTransaction(long chainId, BigInteger nonce, BigInteger gasLimit, String to, BigInteger value, BigInteger maxPriorityFeePerGas, BigInteger maxFeePerGas) -
createTransaction
public static RawTransaction createTransaction(BigInteger nonce, BigInteger gasPrice, BigInteger gasLimit, String to, String data) -
createTransaction
public static RawTransaction createTransaction(BigInteger nonce, BigInteger gasPrice, BigInteger gasLimit, String to, BigInteger value, String data) -
createTransaction
public static RawTransaction createTransaction(long chainId, BigInteger nonce, BigInteger gasLimit, String to, BigInteger value, String data, BigInteger maxPriorityFeePerGas, BigInteger maxFeePerGas) -
createTransaction
public static RawTransaction createTransaction(long chainId, BigInteger nonce, BigInteger gasPrice, BigInteger gasLimit, String to, BigInteger value, String data, List<AccessListObject> accessList) -
getNonce
-
getGasPrice
-
getGasLimit
-
getTo
-
getValue
-
getData
-
getType
-
getTransaction
-