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.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
props | UseERC20BalanceProps | The props to use. |
Returns
Section titled “Returns”UseQueryResult<ERC20BalanceResult, Error>
The balance and allowance of the ERC20 token.