cURL
curl --request POST \ --url https://api.mainnet.abs.xyz/eth_getFilterLogs \ --header 'Content-Type: application/json' \ --data '{ "jsonrpc": "2.0", "id": 1, "method": "eth_getFilterLogs", "params": [ "0xb415d4b0e6ca750802be8c84c99a68170deeb9ed09c4e2eb0dc5299ab715e978" ] }'
{ "jsonrpc": "2.0", "id": 1, "result": [ { "address": "0x8320fe7702b96808f7bbc0d4a888ed1468216cfd", "topics": [ "0xd78a0cb8bb633d06981248b816e7bd33c2a35a6089241d099fa519e361cab902" ], "data": "0x0000000000000000000000000000000000000000000000000000000000000001", "blockNumber": "0x1", "logIndex": "0x0" } ] }
Returns logs for the specified filter
JSON-RPC version
The method to call
Filter ID
Request identifier
Returns the logs for the filter
"2.0"
1
Array of log objects
Show child attributes
Was this page helpful?