Eth
eth_getLogs
Returns logs matching the given filter object.
JSON-RPC request
jsonrpcstring
methodstring
params
[filterObject]
Items
1 <= items <= 1idinteger
Response Body
application/json
application/json
curl -X POST "https://api.avax.network/ext/bc/C/rpc#eth_getLogs" \ -H "Content-Type: application/json" \ -d '{ "jsonrpc": "2.0", "method": "eth_getLogs", "params": [ { "fromBlock": "0x1", "toBlock": "latest", "address": "0x87ac99835e67168d4f9a40580f8f5c33550ba88b", "topics": [ "0xd78a0cb8bb633d06981248b816e7bd33c2a35a6089241d099fa519e361cab902" ] } ], "id": 1 }'{
"jsonrpc": "2.0",
"result": null,
"error": {
"code": 0,
"message": "string",
"data": null
},
"id": 1
}{
"jsonrpc": "2.0",
"error": {
"code": 0,
"message": "string",
"data": null
},
"id": 1
}Is this guide helpful?