eth_getFilterLogs
Returns an array of all logs matching filter with given id.
Parameters
Filter ID
- Generated after calling eth_newFilter
or eth_newPendingTransactionFilter.
Sample Request
curl https://lb.nodies.app/v1/<INSERT URL> \
-H "x-api-key: <API-KEY>" \
-X POST \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "eth_getFilterLogs",
"params": [
"0x4d8df127e4f9e268edda91d288c2afff"
],
"id": 1
}'
Sample Response
{
"jsonrpc": "2.0",
"id": 1,
"result": [
{
"address": "0xdeaddeaddeaddeaddeaddeaddeaddeaddead0000",
"topics": [
"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
"0x0000000000000000000000001e876cce41b7b844fde09e38fa1cf00f213bff56",
"0x000000000000000000000000453a742984350879a9b037d0a093ace127a99e3f"
],
"data": "0x0000000000000000000000000000000000000000000000001bc16d674ec80000",
"blockNumber": "0x9d6a03",
"transactionHash": "0x267225d483f495849a8ba0630f4767ec3f94912c427f2772b8941f44c95ebd4f",
"transactionIndex": "0x0",
"blockHash": "0x6f8d2df6f882a124d688de00dcf4493b505ae88b08702a8e2751e1c2d55dd416",
"logIndex": "0x0",
"removed": false
},
{
"address": "0x2136d8017ac5f4db99a7f9e23f15116b9c98be4e",
"topics": [
"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
"0x000000000000000000000000453a742984350879a9b037d0a093ace127a99e3f",
"0x000000000000000000000000575b6813c6bf133bd2d879792c3dbe5e9b9b5f51"
],
"data": "0x00000000000000000000000000000000000000000000003f47bbf6700bef660a",
"blockNumber": "0x9d6a03",
"transactionHash": "0x267225d483f495849a8ba0630f4767ec3f94912c427f2772b8941f44c95ebd4f",
"transactionIndex": "0x0",
"blockHash": "0x6f8d2df6f882a124d688de00dcf4493b505ae88b08702a8e2751e1c2d55dd416",
"logIndex": "0x1",
"removed": false
},
{
"address": "0x2136d8017ac5f4db99a7f9e23f15116b9c98be4e",
"topics": [
"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
"0x000000000000000000000000453a742984350879a9b037d0a093ace127a99e3f",
"0x0000000000000000000000002136d8017ac5f4db99a7f9e23f15116b9c98be4e"
],
"data": "0x000000000000000000000000000000000000000000000000a3a238cad42934bf",
"blockNumber": "0x9d6a03",
"transactionHash": "0x267225d483f495849a8ba0630f4767ec3f94912c427f2772b8941f44c95ebd4f",
"transactionIndex": "0x0",
"blockHash": "0x6f8d2df6f882a124d688de00dcf4493b505ae88b08702a8e2751e1c2d55dd416",
"logIndex": "0x2",
"removed": false
}
]
}
Last updated