CreateERC20TransferCallsOptions
CreateERC20TransferCallsOptions =
object
Defined in: sdks/js/agent-sdk/src/util/TransactionUtil.ts:99
Parameters for creating an ERC-20 transfer call payload.
Properties
Section titled “Properties”amount
Section titled “amount”amount:
bigint
Defined in: sdks/js/agent-sdk/src/util/TransactionUtil.ts:109
The amount to transfer in the token’s base units (e.g., 1_000_000 for 1 USDC).
chain:
Chain
Defined in: sdks/js/agent-sdk/src/util/TransactionUtil.ts:101
The viem Chain object (e.g., baseSepolia from “viem/chains”).
description
Section titled “description”description:
string
Defined in: sdks/js/agent-sdk/src/util/TransactionUtil.ts:111
Description that will be shown in the app with the transaction.
from:
Hex
Defined in: sdks/js/agent-sdk/src/util/TransactionUtil.ts:105
The sender’s address.
to:
Hex
Defined in: sdks/js/agent-sdk/src/util/TransactionUtil.ts:107
The recipient’s address.
tokenAddress
Section titled “tokenAddress”tokenAddress:
Hex
Defined in: sdks/js/agent-sdk/src/util/TransactionUtil.ts:103
The ERC-20 token contract address (e.g., Base Token Contract List: https://basescan.org/tokens).

