# useERC20Balance

> **useERC20Balance**(`props`): `UseQueryResult`\<[`OutputType`](/reference/filoz/synapse-core/erc20/namespaces/balance/type-aliases/outputtype/), [`Error`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error)\>

Defined in: [synapse-react/src/erc20.ts:28](https://github.com/FilOzone/synapse-sdk/blob/7fdc04df4e3c52366a9f0cd55da4c05e20b2ed82/packages/synapse-react/src/erc20.ts#L28)

Get the balance and allowance of the ERC20 token.

## Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `props` | [`UseERC20BalanceProps`](/reference/filoz/synapse-react/interfaces/useerc20balanceprops/) | The props to use. |

## Returns

`UseQueryResult`\<[`OutputType`](/reference/filoz/synapse-core/erc20/namespaces/balance/type-aliases/outputtype/), [`Error`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error)\>

The balance and allowance of the ERC20 token.