GetERC20BalanceOptions
GetERC20BalanceOptions =
object
Defined in: sdks/js/agent-sdk/src/util/TransactionUtil.ts:121
Parameters for reading an ERC-20 balance.
Properties
Section titled “Properties”address
Section titled “address”address:
Hex
Defined in: sdks/js/agent-sdk/src/util/TransactionUtil.ts:127
The address to query the balance of.
chain:
Chain
Defined in: sdks/js/agent-sdk/src/util/TransactionUtil.ts:123
The viem Chain object.
tokenAddress
Section titled “tokenAddress”tokenAddress:
Hex
Defined in: sdks/js/agent-sdk/src/util/TransactionUtil.ts:125
The ERC-20 token contract address.
transport?
Section titled “transport?”
optionaltransport?:Transport
Defined in: sdks/js/agent-sdk/src/util/TransactionUtil.ts:129
Optional custom viem transport. Defaults to http().

