eth_getFilterLogs - Ethereum
Shows you an array which contains all logs that suit the filter with the stated id
How to Use the eth_getFilterLogs Method
The size of response for getFilterLogs method varies due to your block range:
Block range > 50K: unavailable
Block range <= 100: No limitations
Block range between 100 and 50K: No more than 50K records can be responded
Parameters
QUANTITY - an id of the filter.
What you receive
Look at eth_getFilterChanges for understanding.
Sample
Here is a typical appliance example.
Call
curl https://eth-mainnet.rpcfast.com/?api_key=<key> \
-X POST \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"eth_getFilterLogs","params":["0xd1bdcf5b6141c7ec379531c851cb91d3"],"id":1}'
Outcome
Same as for eth_getFilterChanges.
Last updated