Historical Logs
🚧 Deprecation notice
This endpoint will be deprecated on 4 November 2026. Use GET /defi/v1/fungibletoken/historicallogs instead.
Returns a chronological history of WETH deposit and withdrawal events within a specified block range, including contract addresses, event topics, parameters, and block metadata. Users can filter by event type, chain ID, chain symbol, and block range, enabling robust auditing and analysis of historical token activity.
💡 Compute Unit Value: 70 (Fixed)
Request
- Base URLhttps://svc.blockdaemon.com
- URLhttps://svc.blockdaemon.com/defi/v1/weth/historical/logs
- AuthAPI key in header X-API-Key
Query parameters
The unique ID to direct queries or transactions to the correct blockchain. Find more here.
The abbreviated chain name for queries or transactions.
Starting block of the range. By default, latestBlock - 100.
Last block of the range. By default, it is the latestBlock.
Type of WETH event: Deposit or Withdrawal.
The page number to fetch. By default, 1.
Response
Successful response
Example response
{
"status": 200,
"msg": "success",
"data": {
"logs": [
{
"address": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
"topics": [
"0xe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c",
"0x0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d"
],
"params": {
"dst": "0x7a250d5630b4cf539739df2c5dacb4c659f2488d",
"wad": "100000000000000000"
},
"data": "0x000000000000000000000000000000000000000000000000016345785d8a0000",
"blockNumber": "17320569",
"blockHash": "0xcbc13d3439e115dcb6203a45d82da137b7f546286224f29248192a7e428e29d6",
"timeStamp": "1684828271",
"gasPrice": "101893509354",
"gasUsed": "142805",
"logIndex": "0",
"transactionHash": "0xa36d80f70960af4a7f67145670e589795edd3fda2c3334eb7c6fce962f06d99e",
"transactionIndex": "4"
}
]
}
}Changes
No recorded changes to this operation across all 1 revision of this API.