# erc20

ERC20 Contract Operations

## Example

```ts
import * as ERC20 from '@filoz/synapse-core/erc20'
```

## Namespaces

| Namespace | Description |
| ------ | ------ |
| [approve](/reference/filoz/synapse-core/erc20/namespaces/approve/toc/) | - |
| [approveCall](/reference/filoz/synapse-core/erc20/namespaces/approvecall/toc/) | - |
| [approveSync](/reference/filoz/synapse-core/erc20/namespaces/approvesync/toc/) | - |
| [balance](/reference/filoz/synapse-core/erc20/namespaces/balance/toc/) | - |
| [balanceForPermit](/reference/filoz/synapse-core/erc20/namespaces/balanceforpermit/toc/) | - |

## Functions

| Function | Description |
| ------ | ------ |
| [approve](/reference/filoz/synapse-core/erc20/functions/approve/) | Approve an ERC20 token allowance |
| [approveCall](/reference/filoz/synapse-core/erc20/functions/approvecall/) | Create a call to the approve function |
| [approveSync](/reference/filoz/synapse-core/erc20/functions/approvesync/) | Approve an ERC20 token allowance and wait for confirmation |
| [balance](/reference/filoz/synapse-core/erc20/functions/balance/) | Get the balance, decimals, symbol, and allowance of an ERC20 token. |
| [balanceForPermit](/reference/filoz/synapse-core/erc20/functions/balanceforpermit/) | Get the balance, name, nonce, and version of an ERC20 token. |
| [extractApproveEvent](/reference/filoz/synapse-core/erc20/functions/extractapproveevent/) | Extracts the Approval event from transaction logs |