INPUT_OBJECT

EthereumTransactionInput

A simple Ethereum transaction input

link GraphQL Schema definition

  • input EthereumTransactionInput {
  • # The address this transaction is directed to OR the ERC20 token recipient
  • to: String!
  • # The TrustVault supported asset you are trying to send. (see supported-assets
  • # docs for available assetSymbols)
  • assetSymbol: String!
  • # For ETH, the value of ETH to send with this transaction in WEI, for ERC20, the
  • # value in base unit. e.g. for a token with 6 decimal places, to send 1 token
  • # specify 1000000
  • value: String!
  • # The speed at which you want the network to accept the transaction. This a
  • # # dynamic value for the gasPrice and helps determine the fee. The fee is charged
  • # # by the network in ETH. This value is included in the total amount of the
  • # # transaction. Defaults to MEDIUM
  • speed: TransactionSpeed
  • # Int (as String) of the gas provided for the transaction execution.
  • gasLimit: String
  • # Int (as String) of the gasPrice used for each paid gas
  • gasPrice: String
  • # The address the transaction is sent from (This must be owned by the user whose
  • # authentication tokens you are using)
  • fromAddress: String!
  • # The number of transactions made by the sender prior to this one (will be
  • # calculated automatically if not given)
  • nonce: Int
  • # The chainId .e.g 1 for mainnet or 3 for ropsten (will be calculated
  • # automatically if not given)
  • chainId: Int
  • # The compiled code of a contract OR the hash of the invoked method signature and
  • # encoded parameters (will be calculated automatically if not given)
  • data: String
  • }