fetchTransfers
Retrieve token and ETH transfers filtered by address, block range, or contract. Use fromBlock, toBlock, fromAddress, toAddress, contractAddresses, category, order, withMetadata, excludeZeroValue, maxCount, pageKey, and network parameters.
Instructions
Get token and ETH transfers filtered by address, block range, or contract
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fromBlock | No | The block number to start the search from. e.g. "1234567890". Inclusive from block (hex string, int, latest, or indexed). | 0x0 |
| toBlock | No | The block number to end the search at. e.g. "1234567890". Inclusive to block (hex string, int, latest, or indexed). | latest |
| fromAddress | No | The wallet address to query the transfer was sent from. | |
| toAddress | No | The wallet address to query the transfer was sent to. | |
| contractAddresses | No | The contract addresses to query. e.g. ["0x1234567890123456789012345678901234567890"] | |
| category | No | The category of transfers to query. e.g. "external" or "internal" | |
| order | No | The order of the results. e.g. "asc" or "desc". | asc |
| withMetadata | No | Whether to include metadata in the results. | |
| excludeZeroValue | No | Whether to exclude zero value transfers. | |
| maxCount | No | The maximum number of results to return. e.g. "0x3E8". | 0xA |
| pageKey | No | The cursor to start the search from. Use this to paginate through the results. | |
| network | No | Network ID. Call listSupportedNetworks for all options. e.g. "eth-mainnet", "base-mainnet" | eth-mainnet |