Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk
Class EthereumTransactionDataEip1559
java.lang.Object
com.hedera.hashgraph.sdk.EthereumTransactionData
com.hedera.hashgraph.sdk.EthereumTransactionDataEip1559
The ethereum transaction data, in the format defined in EIP-1559
-
Field Summary
FieldsModifier and TypeFieldDescriptionbyte[]specifies an array of addresses and storage keys that the transaction plans to accessbyte[]ID of the chainbyte[]The amount of gas available for the transactionbyte[]The maximum amount, in tinybars, that the payer of the hedera transaction is willing to pay to complete the transactionbyte[]An 'optional' additional fee in Ethereum that is paid directly to miners in order to incentivize them to include your transaction in a block.byte[]Transaction's noncebyte[]The R value of the signaturebyte[]recovery parameter used to ease the signature verificationbyte[]The S value of the signaturebyte[]The receiver of the transactionbyte[]The transaction valueFields inherited from class com.hedera.hashgraph.sdk.EthereumTransactionData
callData -
Constructor Summary
ConstructorsConstructorDescriptionEthereumTransactionDataEip1559(byte[] chainId, byte[] nonce, byte[] maxPriorityGas, byte[] maxGas, byte[] gasLimit, byte[] to, byte[] value, byte[] callData, byte[] accessList, byte[] recoveryId, byte[] r, byte[] s) -
Method Summary
-
Field Details
-
chainId
public byte[] chainIdID of the chain -
nonce
public byte[] nonceTransaction's nonce -
maxPriorityGas
public byte[] maxPriorityGasAn 'optional' additional fee in Ethereum that is paid directly to miners in order to incentivize them to include your transaction in a block. Not used in Hedera -
maxGas
public byte[] maxGasThe maximum amount, in tinybars, that the payer of the hedera transaction is willing to pay to complete the transaction -
gasLimit
public byte[] gasLimitThe amount of gas available for the transaction -
to
public byte[] toThe receiver of the transaction -
value
public byte[] valueThe transaction value -
accessList
public byte[] accessListspecifies an array of addresses and storage keys that the transaction plans to access -
recoveryId
public byte[] recoveryIdrecovery parameter used to ease the signature verification -
r
public byte[] rThe R value of the signature -
s
public byte[] sThe S value of the signature
-
-
Constructor Details
-
EthereumTransactionDataEip1559
EthereumTransactionDataEip1559(byte[] chainId, byte[] nonce, byte[] maxPriorityGas, byte[] maxGas, byte[] gasLimit, byte[] to, byte[] value, byte[] callData, byte[] accessList, byte[] recoveryId, byte[] r, byte[] s)
-
-
Method Details
-
fromBytes
Convert a byte array to an ethereum transaction data.- Parameters:
bytes- the byte array- Returns:
- the ethereum transaction data
-
toBytes
public byte[] toBytes()Description copied from class:EthereumTransactionDataSerialize the ethereum transaction data into bytes using RLP- Specified by:
toBytesin classEthereumTransactionData- Returns:
- the serialized transaction as a byte array
-
toString
Description copied from class:EthereumTransactionDataSerialize the ethereum transaction data into a string- Specified by:
toStringin classEthereumTransactionData- Returns:
- the serialized transaction as a string
-