getERC20Balance
getERC20Balance(
options):Promise<bigint>
Defined in: sdks/agent/src/util/TransactionUtil.ts:213
Reads the ERC-20 token balance for a given address from the blockchain.
Parameters
Section titled “Parameters”options
Section titled “options”The query options including chain, token address, and wallet address
Returns
Section titled “Returns”Promise<bigint>
The token balance in base units as a bigint