Skip to content

balance

function balance(client, options): Promise<ERC20BalanceResult>;

Defined in: packages/synapse-core/src/erc20.ts:54

Get the balance, decimals, symbol, and allowance of an ERC20 token.

ParameterTypeDescription
clientClient<Transport, Chain>The client to use.
optionsERC20BalanceOptionsThe props to use.

Promise<ERC20BalanceResult>

The balance, decimals, symbol, and allowance.

  • MulticallErrorType if the multicall fails.