INPUT_OBJECT

EvmTransactionInput

link GraphQL Schema definition

  • input EvmTransactionInput {
  • # The address this transaction is directed to OR the ERC20 token recipient
  • to: String!
  • # This TrustVault supported asset you are trying to send. For Ether set this to
  • # "ETH" for ERC20 token, set this to the TrustVault token symbol. (See docs for
  • # supported tokens)
  • 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 (either speed or gasLimit + gasPrice must be
  • # given)
  • speed: TransactionSpeed
  • # Int (as String) of number of units of 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 (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
  • }