OBJECT

EthereumTransaction

link GraphQL Schema definition

  • type EthereumTransaction {
  • # The address to send this transaction is directed to
  • to: String!
  • # The value of ETH to send with this transaction
  • value: String!
  • #  The chainId .e.g 1 for mainnet or 3 for ropsten
  • chainId: Int!
  • #  The number of transactions a user has already sent (plus 1 for this
  • # transaction)
  • nonce: Int!
  • # Int (as String) of the gas provided for the transaction execution (either speed
  • # or gasLimit + gasPrice must be given)
  • gasLimit: String!
  • # Int (as String) of the gasPrice used (in WEI) for each unit of gas (either speed
  • # or gasLimit + gasPrice must be given)
  • gasPrice: String!
  • # The address the transaction is sent from
  • fromAddress: String!
  • # The r value of the signature (optional as it will not exist if tx is not signed)
  • r: String
  • # The s value of the signature (optional as it will not exist if tx is not signed)
  • s: String
  • # The recovery Id of the Ethereum chain (optional as it will not exist if tx is
  • # not signed)
  • v: String
  • # The compiled code of a contract OR the hash of the invoked method signature and
  • # encoded parameters.
  • data: String
  • }