Get Event Logs by Address

https://api.routescan.io/v2/network/mainnet/evm/ /etherscan/api
  ?module=logs
  &action=getLogs
  &address=0x9702230A8Ea53601f5cD2dc00fDBc13d4dF4A8c7
  &fromBlock=37000000
  &toBlock=37200000
  &page=1
  &offset=1000
  &apikey=YourApiKeyToken
Try this endpoint in your browser 🔗
Query Parameters
Parameter
Description
address
the string representing the address to check for logs
fromBlock
the integer block number to start searching for logs eg. 37000000
toBlock
the integer block number to stop searching for logs eg. 37200000
page
the integer page number, if pagination is enabled
offset
the number of transactions displayed per page

Get Event Logs by Topics

https://api.routescan.io/v2/network/mainnet/evm/ /etherscan/api
  ?module=logs
  &action=getLogs
  &fromBlock=37000000
  &toBlock=37200000
  &topic0=0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef
  &topic0_1_opr=and
  &topic1=0x0000000000000000000000000000000000000000000000000000000000000000
  &page=1
  &offset=1000
  &apikey=YourApiKeyToken
Try this endpoint in your browser 🔗
Query Parameters
Parameter
Description
fromBlock
the integer block number to start searching for logs eg. 37000000
toBlock
the integer block number to stop searching for logs eg. 37200000
topic0
the topic numbers to search for limited to topic0, topic1, topic2, topic3
topic0_1_opr
the topic operator when multiple topic combinations are used limited to and or or
topic1
the topic numbers to search for limited to topic0, topic1, topic2, topic3
page
the integer page number, if pagination is enabled
offset
the number of transactions displayed per page

Get Event Logs by Address filtered by Topics

https://api.routescan.io/v2/network/mainnet/evm/ /etherscan/api
  ?module=logs
  &action=getLogs
  &fromBlock=37000000
  &toBlock=37200000
  &address=0x9e66eba102b77fc75cd87b5e60141b85573bc8e8
  &topic0=0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef
  &topic0_1_opr=and
  &topic1=0x0000000000000000000000000000000000000000000000000000000000000000
  &page=1
  &offset=1000
  &apikey=YourApiKeyToken
Try this endpoint in your browser 🔗
Query Parameters
Parameter
Description
fromBlock
the integer block number to start searching for logs eg. 37000000
toBlock
the integer block number to stop searching for logs eg. 37200000
address
the string representing the address to check for logs
topic0
the topic numbers to search for limited to topic0, topic1, topic2, topic3
topic0_1_opr
the topic operator when multiple topic combinations are used limited to and or or
topic1
the topic numbers to search for limited to topic0, topic1, topic2, topic3
page
the integer page number, if pagination is enabled
offset
the number of transactions displayed per page

Loading