Get Logs
POST
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Returns an array of logs that match the filter criteria specified in the params. The filter object supports filtering by block range, addresses, and topics.
The standard Conflux node limits the difference between fromBlock and toBlock to 1000. Provider-specific limits may differ. Pending block filters are not supported.
Request and response values are illustrative examples, not live mainnet data.
Body
application/json
jsonrpcstringrequiredJSON-RPC version.
methodstringrequiredJSON-RPC method name.
paramsArray<object>requiredParameters array with one element: the filter object.
idintegerrequiredRequest identifier.
Response
200OK
Array of log objects matching the filter