Get Event Logs by Address

https://api.lorescan.com/[chain]/

  • ?module=logs
  • &action=getLogs
  • &address=0x9702230A8Ea53601f5cD2dc00fDBc13d4dF4A8c7
  • &fromBlock=37000000
  • &toBlock=37200000
  • &page=1
  • &offset=1000
  • &apikey=lore-public

Try this endpoint in your browser πŸ”—

Query Parameters

ParameterDescription
addressthe string representing the address to check for logs
fromBlockthe integer block number to start searching for logs, e.g., 37000000
toBlockthe integer block number to stop searching for logs, e.g., 37200000
pagethe integer page number, if pagination is enabled
offsetthe number of transactions displayed per page

Get Event Logs by Topics

https://api.lorescan.com/[chain]/

  • ?module=logs
  • &action=getLogs
  • &fromBlock=37000000
  • &toBlock=37200000
  • &topic0=0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef
  • &topic0_1_opr=and
  • &topic1=0x0000000000000000000000000000000000000000000000000000000000000000
  • &page=1
  • &offset=1000
  • &apikey=lore-public

Try this endpoint in your browser πŸ”—

Query Parameters

ParameterDescription
fromBlockthe integer block number to start searching for logs, e.g., 37000000
toBlockthe integer block number to stop searching for logs, e.g., 37200000
topic0the topic numbers to search for, limited to topic0, topic1, topic2, topic3
topic0_1_oprthe topic operator when multiple topic combinations are used, limited to β€˜and’ or β€˜or’
topic1the topic numbers to search for, limited to topic0, topic1, topic2, topic3
pagethe integer page number, if pagination is enabled
offsetthe number of transactions displayed per page

Get Event Logs by Address filtered by Topics

https://api.lorescan.com/[chain]/

  • ?module=logs
  • &action=getLogs
  • &fromBlock=37000000
  • &toBlock=37200000
  • &address=0x9e66eba102b77fc75cd87b5e60141b85573bc8e8
  • &topic0=0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef
  • &topic0_1_opr=and
  • &topic1=0x0000000000000000000000000000000000000000000000000000000000000000
  • &page=1
  • &offset=1000
  • &apikey=lore-public

Try this endpoint in your browser πŸ”—

Query Parameters

ParameterDescription
fromBlockthe integer block number to start searching for logs, e.g., 37000000
toBlockthe integer block number to stop searching for logs, e.g., 37200000
addressthe string representing the address to check for logs
topic0the topic numbers to search for, limited to topic0, topic1, topic2, topic3
topic0_1_oprthe topic operator when multiple topic combinations are used, limited to β€˜and’ or β€˜or’
topic1the topic numbers to search for, limited to topic0, topic1, topic2, topic3
pagethe integer page number, if pagination is enabled
offsetthe number of transactions displayed per page