alchemy_getAssetTransfers
The Transfers API allows you to easily fetch historical transactions for any address across Ethereum and supported L2s including Polygon, Arbitrum, and Optimism.
Path parameters
Request
Inclusive from block (hex string, int, ‘latest’, or ‘indexed’). Defaults to 0x0.
Inclusive to block (hex string, int, ‘latest’, or ‘indexed’). Defaults to ‘latest’.
Hex string ‘from’ address. Default is wildcard (any address).
Hex string ‘to’ address. Default is wildcard (any address).
Filter for ERC20/721/1155 transfers by contract address. Defaults to wildcard (any address).
Array of transfer categories: external, internal, erc20, erc721, erc1155, specialnft.
Return results in ascending (asc) or descending (desc) order. Defaults to ‘asc’.
Include additional metadata about each transfer event. Defaults to false.
Whether to exclude transfers with zero value. Defaults to true.
Max hex string number of results to return per call. Defaults to 0x3e8 (1000).
UUID for pagination. If more results are available, use the pageKey returned in the response to fetch the next page.
Response
Returns the list of transfers, and a pageKey if additional results remain.