Class Transaction1559
java.lang.Object
org.web3j.crypto.transaction.type.LegacyTransaction
org.web3j.crypto.transaction.type.Transaction1559
- All Implemented Interfaces:
ITransaction
Transaction class used for signing 1559 transactions locally.
For the specification, refer to p4 of the yellow paper.
For the specification, refer to p4 of the yellow paper.
-
Constructor Summary
ConstructorsConstructorDescriptionTransaction1559(long chainId, BigInteger nonce, BigInteger gasLimit, String to, BigInteger value, String data, BigInteger maxPriorityFeePerGas, BigInteger maxFeePerGas) -
Method Summary
Modifier and TypeMethodDescriptionList<org.web3j.rlp.RlpType>asRlpValues(Sign.SignatureData signatureData) static Transaction1559createEtherTransaction(long chainId, BigInteger nonce, BigInteger gasLimit, String to, BigInteger value, BigInteger maxPriorityFeePerGas, BigInteger maxFeePerGas) static Transaction1559createTransaction(long chainId, BigInteger nonce, BigInteger gasLimit, String to, BigInteger value, String data, BigInteger maxPriorityFeePerGas, BigInteger maxFeePerGas) longMethods inherited from class org.web3j.crypto.transaction.type.LegacyTransaction
createContractTransaction, createEtherTransaction, createTransaction, createTransaction, getData, getGasLimit, getNonce, getTo, getType, getValueMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.web3j.crypto.transaction.type.ITransaction
getData, getGasLimit, getNonce, getTo, getType, getValue
-
Constructor Details
-
Transaction1559
public Transaction1559(long chainId, BigInteger nonce, BigInteger gasLimit, String to, BigInteger value, String data, BigInteger maxPriorityFeePerGas, BigInteger maxFeePerGas)
-
-
Method Details
-
asRlpValues
- Specified by:
asRlpValuesin interfaceITransaction- Overrides:
asRlpValuesin classLegacyTransaction
-
createEtherTransaction
public static Transaction1559 createEtherTransaction(long chainId, BigInteger nonce, BigInteger gasLimit, String to, BigInteger value, BigInteger maxPriorityFeePerGas, BigInteger maxFeePerGas) -
createTransaction
public static Transaction1559 createTransaction(long chainId, BigInteger nonce, BigInteger gasLimit, String to, BigInteger value, String data, BigInteger maxPriorityFeePerGas, BigInteger maxFeePerGas) -
getGasPrice
- Specified by:
getGasPricein interfaceITransaction- Overrides:
getGasPricein classLegacyTransaction
-
getChainId
public long getChainId() -
getMaxPriorityFeePerGas
-
getMaxFeePerGas
-