Get Event Logs by Address and/or Topic(s)
legacy
Get Event Logs by Address and/or Topic(s)
Event logs for an address and topic. Use and/or with the topic operator to specify topic retrieval options when adding multiple topics. Up to a maximum of 1,000 event logs.
Required:
fromBlockandtoBlock- At least one of
address,topic0,topic1,topic2,topic3 - If any pair of topic parameters is set, the corresponding
topicA_B_opris required.
GET
Get Event Logs by Address and/or Topic(s)
Documentation Index
Fetch the complete documentation index at: https://blockscout-main.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Query Parameters
Start block: integer or the sentinel "latest"
Pattern:
^-?([1-9][0-9]*|0)$End block: integer or the sentinel "latest"
Pattern:
^-?([1-9][0-9]*|0)$Pattern:
^0x([A-Fa-f0-9]{40})$Pattern:
^0x[0-9a-fA-F]{64}$Pattern:
^0x[0-9a-fA-F]{64}$Pattern:
^0x[0-9a-fA-F]{64}$Pattern:
^0x[0-9a-fA-F]{64}$Available options:
and, or Available options:
and, or Available options:
and, or Available options:
and, or Available options:
and, or Available options:
and, or API key for rate limiting or for sensitive endpoints
Secret key for getting access to restricted resources
Response
200 - application/json
Event logs