Logs
Last updated
Last updated
The Event Log API was designed to provide an alternative to the native eth_getLogs.
Below are the list of supported filter parameters:
fromBlock, toBlock, address
topic0, topic1, topic2, topic3 (32 Bytes per topic)
topic0_1_opr (and|or between topic0 & topic1), topic1_2_opr (and|or between topic1 & topic2), topic2_3_opr (and|or between topic2 & topic3), topic0_2_opr (and|or between topic0 & topic2), topic0_3_opr (and|or between topic0 & topic3), topic1_3_opr (and|or between topic1 & topic3)
For performance & security considerations, only the first 1000 results are return. So please narrow down the filter parameters.
https://api-moonriver.moonscan.io/api
?module=logs
&action=getLogs
&fromBlock=1092029
&toBlock=latest
&address=0xe9ba4c1e76d874a43942718dafc96009ec9d9917
&topic0=0x74bbc026808dcba59692d6a8bb20596849ca718e10e2432c6cdf48af865bc5d9
&apikey=YourApiKeyToken
https://api-moonriver.moonscan.io/api
?module=logs
&action=getLogs
&fromBlock=1089604
&toBlock=latest
&address=0xe9ba4c1e76d874a43942718dafc96009ec9d9917
&topic0=0x74bbc026808dcba59692d6a8bb20596849ca718e10e2432c6cdf48af865bc5d9
&topic0_1_opr=and
&topic1=0x0000000000000000000000000000000000000000000000000000000000000070
&apikey=YourApiKeyToken
Try this endpoint in your browser
Try this endpoint in your browser