GetLogs
post
Returns an array of all logs matching a given filter object
Parameters
object array The transaction call object which contains the following fields:
fromBlock string
toBlock string
address string
topics string
blockHash string
Returns
array
- An array of log objects, or an empty array if nothing has changed since last poll
Body
jsonrpcstringRequired
methodstringRequired
paramsstring[]Required
idinteger · int32Required
Responses
200
Successful Operation
500
Internal Server Error
post
POST //getLogs HTTP/1.1
Host: tomo.nownodes.io
Content-Type: application/json
Accept: */*
Content-Length: 141
{
"jsonrpc": "2.0",
"method": "eth_getLogs",
"params": [
{
"BlockHash": "0xe31ec21364598d874a986d8201a9405bff25dc78c8495c938c67e51b0d47bee9"
}
],
"id": 1
}
No content