Class EthereumTransactionDataEip1559

java.lang.Object
com.hedera.hashgraph.sdk.EthereumTransactionData
com.hedera.hashgraph.sdk.EthereumTransactionDataEip1559

public class EthereumTransactionDataEip1559 extends EthereumTransactionData
The ethereum transaction data, in the format defined in EIP-1559
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    byte[]
    specifies an array of addresses and storage keys that the transaction plans to access
    byte[]
    ID of the chain
    byte[]
    The amount of gas available for the transaction
    byte[]
    The maximum amount, in tinybars, that the payer of the hedera transaction is willing to pay to complete the transaction
    byte[]
    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 nonce
    byte[]
    The R value of the signature
    byte[]
    recovery parameter used to ease the signature verification
    byte[]
    The S value of the signature
    byte[]
    The receiver of the transaction
    byte[]
    The transaction value

    Fields inherited from class com.hedera.hashgraph.sdk.EthereumTransactionData

    callData
  • Constructor Summary

    Constructors
    Constructor
    Description
    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 Summary

    Modifier and Type
    Method
    Description
    fromBytes(byte[] bytes)
    Convert a byte array to an ethereum transaction data.
    byte[]
    Serialize the ethereum transaction data into bytes using RLP
    Serialize the ethereum transaction data into a string

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • chainId

      public byte[] chainId
      ID of the chain
    • nonce

      public byte[] nonce
      Transaction's nonce
    • maxPriorityGas

      public byte[] maxPriorityGas
      An '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[] maxGas
      The maximum amount, in tinybars, that the payer of the hedera transaction is willing to pay to complete the transaction
    • gasLimit

      public byte[] gasLimit
      The amount of gas available for the transaction
    • to

      public byte[] to
      The receiver of the transaction
    • value

      public byte[] value
      The transaction value
    • accessList

      public byte[] accessList
      specifies an array of addresses and storage keys that the transaction plans to access
    • recoveryId

      public byte[] recoveryId
      recovery parameter used to ease the signature verification
    • r

      public byte[] r
      The R value of the signature
    • s

      public byte[] s
      The 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

      public static EthereumTransactionDataEip1559 fromBytes(byte[] bytes)
      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: EthereumTransactionData
      Serialize the ethereum transaction data into bytes using RLP
      Specified by:
      toBytes in class EthereumTransactionData
      Returns:
      the serialized transaction as a byte array
    • toString

      public String toString()
      Description copied from class: EthereumTransactionData
      Serialize the ethereum transaction data into a string
      Specified by:
      toString in class EthereumTransactionData
      Returns:
      the serialized transaction as a string