Skip to content

useERC20Balance

function useERC20Balance(props): UseQueryResult<ERC20BalanceResult, Error>;

Defined in: packages/synapse-react/src/erc20.ts:28

Get the balance and allowance of the ERC20 token.

ParameterTypeDescription
propsUseERC20BalancePropsThe props to use.

UseQueryResult<ERC20BalanceResult, Error>

The balance and allowance of the ERC20 token.