Skip to content

getERC20Balance

getERC20Balance(options): Promise<bigint>

Defined in: sdks/js/agent-sdk/src/util/TransactionUtil.ts:211

Reads the ERC-20 token balance for a given address from the blockchain.

GetERC20BalanceOptions

The query options including chain, token address, and wallet address

Promise<bigint>

The token balance in base units as a bigint