Options for sending an EVM transaction.

interface SendTransactionOptions {
    address: `0x${string}`;
    idempotencyKey?: string;
    network: SendEvmTransactionBodyNetwork;
    transaction: `0x${string}` | TransactionRequestEIP1559;
}

Properties

address: `0x${string}`

The address of the account.

idempotencyKey?: string

The idempotency key.

The network to send the transaction to. The chainId in the transaction field is ignored in favor of this field.

transaction: `0x${string}` | TransactionRequestEIP1559

The transaction to send. The chainId is ignored in favor of the network field.

This can be either:

  • An RLP-encoded transaction to sign and send, as a 0x-prefixed hex string, or
  • An EIP-1559 transaction request object.