Filter event logs
POST
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Event logs are produced by OP_LOG in EVM.
Body
application/json
event filter criteria
rangeFilterRangedefines the range to filter in. e.g.
Copied!
{
"range": {
"unit": "block",
"from": 10,
"to": 1000
}
}refers to the range from block 10 to block 1000.
null stands for the full range.
optionsFilterOptionspass these parameters if you need filtered results paged. e.g.
Copied!
{
"options": {
"offset": 0,
"limit": 10
}
}the above refers that page offset is 0, and the page size is 10.
pass options null if you don't need to demand paging.
topicSetsArray<TopicSetLegacy>Parameters
orderstringascdescqueryorder of filters, defaults to asc
addressstringqueryaddress of account which is the events emitter
Response
200OK
OK