post https://{network}.g.alchemy.com/v2/
The Transfers API allows you to easily fetch historical transactions for any address across Ethereum and supported L2s including Polygon, Arbitrum, and Optimism.
Response
The Transfers API allows you to easily fetch historical transactions for any address across Ethereum and supported L2s including Polygon, Arbitrum, and Optimism.
xxxxxxxxxx
25curl --request POST \
--url https://eth-mainnet.g.alchemy.com/v2/docs-demo \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '
{
"id": 1,
"jsonrpc": "2.0",
"method": "alchemy_getAssetTransfers",
"params": [
{
"fromBlock": "0x0",
"toBlock": "latest",
"toAddress": "0x5c43B1eD97e52d009611D89b74fA829FE4ac56b1",
"category": [
"external"
],
"order": "asc",
"withMetadata": true,
"excludeZeroValue": true,
"maxCount": "0x3e8"
}
]
}
Try It!
to start a request and see the response here! Or choose an example: