curl http://127.0.0.1:8545 -X POST -H "Content-Type: application/json" --data '{"method":"eth_newFilter","params":[{"fromBlock":"0x10f73d9","toBlock":"0x10f743c","address":["0xb08E16cFc07C684dAA2f93C70323BAdb2A6CBFd2","0x03407772F5EBFB9B10Df007A2DD6FFf4EdE47B53","0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f","0xbAF9A5d4b0052359326A6CDAb54BABAa3a3A9643","0x0Ba2e75FE1368d8d517BE1Db5C39ca50a1429441","0xD7FAD3bd59D6477cbe1BE7f646F7f1BA25b230f8","0x4ade0e57Bc2E129f62547af4d620fB40d28EA269","0x75e48C954594d64ef9613AeEF97Ad85370F13807","0x8E9aa87E45e92bad84D5F8DD1bff34Fb92637dE9","0x67d27634E44793fE63c467035E31ea8635117cd4","0x9DEB29c9a4c7A88a3C0257393b7f3335338D9A9D","0x5FA0060FcfEa35B31F7A5f6025F0fF399b98Edf1","0x1F98431c8aD98523631AE4a59f267346ea31F984","0x115934131916C8b277DD010Ee02de363c09d037c","0x48767F9F868a4A7b86A90736632F6E44C2df7fa9","0x4eef5746ED22A2fD368629C1852365bf5dcb79f1","0x0F3e0c4218b7b0108a3643cFe9D3ec0d4F57c54e","0xf8062Eedf80D8D2527cE89435f670cb996aB4e54","0x5D8d3bbE66076e844C82B989F8430Fa92Cf67DBA","0xA5bf2ddF098bb0Ef6d120C98217dD6B141c74EE0","0xC0AEe478e3658e2610c5F7A4A2E1777cE9e4f2Ac","0x592f70cE43a310D15fF59BE1460F38Ab6DF3Fe65","0x69bd16aE6F507bd3Fc9eCC984d50b04F029EF677","0xc66Ba2B6595D3613CCab350C886aCE23866EDe24","0x9424B1412450D0f8Fc2255FAf6046b98213B76Bd","0xF14421F0BCf9401d8930872C2d44d8e67e40529a","0x3A97247DF274a17C59A3bd12735ea3FcDFb49950","0x751A0bC0e3f75b38e01Cf25bFCE7fF36DE1C87DE","0x833e4083B7ae46CeA85695c4f7ed25CDAd8886dE","0x90E00ACe148ca3b23Ac1bC8C240C2a7Dd9c2d7f5"]}],"id":1,"jsonrpc":"2.0"}'
Get the logs
curl http://127.0.0.1:8545 -X POST -H "Content-Type: application/json" --data '{"method":"eth_getFilterLogs","params":["<FILTER ID FROM PREVIOUS STEP>"]}'
Comparing to Alchemy
curl https://eth-mainnet.g.alchemy.com/v2/<ALCHEMY_KEY> -X POST -H "Content-Type: application/json" --data '{"method":"eth_newFilter","params":[{"fromBlock":"0x10f73d9","toBlock":"0x10f743c","address":["0xb08E16cFc07C684dAA2f93C70323BAdb2A6CBFd2","0x03407772F5EBFB9B10Df007A2DD6FFf4EdE47B53","0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f","0xbAF9A5d4b0052359326A6CDAb54BABAa3a3A9643","0x0Ba2e75FE1368d8d517BE1Db5C39ca50a1429441","0xD7FAD3bd59D6477cbe1BE7f646F7f1BA25b230f8","0x4ade0e57Bc2E129f62547af4d620fB40d28EA269","0x75e48C954594d64ef9613AeEF97Ad85370F13807","0x8E9aa87E45e92bad84D5F8DD1bff34Fb92637dE9","0x67d27634E44793fE63c467035E31ea8635117cd4","0x9DEB29c9a4c7A88a3C0257393b7f3335338D9A9D","0x5FA0060FcfEa35B31F7A5f6025F0fF399b98Edf1","0x1F98431c8aD98523631AE4a59f267346ea31F984","0x115934131916C8b277DD010Ee02de363c09d037c","0x48767F9F868a4A7b86A90736632F6E44C2df7fa9","0x4eef5746ED22A2fD368629C1852365bf5dcb79f1","0x0F3e0c4218b7b0108a3643cFe9D3ec0d4F57c54e","0xf8062Eedf80D8D2527cE89435f670cb996aB4e54","0x5D8d3bbE66076e844C82B989F8430Fa92Cf67DBA","0xA5bf2ddF098bb0Ef6d120C98217dD6B141c74EE0","0xC0AEe478e3658e2610c5F7A4A2E1777cE9e4f2Ac","0x592f70cE43a310D15fF59BE1460F38Ab6DF3Fe65","0x69bd16aE6F507bd3Fc9eCC984d50b04F029EF677","0xc66Ba2B6595D3613CCab350C886aCE23866EDe24","0x9424B1412450D0f8Fc2255FAf6046b98213B76Bd","0xF14421F0BCf9401d8930872C2d44d8e67e40529a","0x3A97247DF274a17C59A3bd12735ea3FcDFb49950","0x751A0bC0e3f75b38e01Cf25bFCE7fF36DE1C87DE","0x833e4083B7ae46CeA85695c4f7ed25CDAd8886dE","0x90E00ACe148ca3b23Ac1bC8C240C2a7Dd9c2d7f5"]}],"id":1,"jsonrpc":"2.0"}'
curl https://eth-mainnet.g.alchemy.com/v2/<ALCHEMY_KEY> -X POST -H "Content-Type: application/json" --data '{"method":"eth_getFilterLogs","params":["<FILTER ID FROM PREVIOUS STEP>"]}'
System information
Erigon version:
erigon version 2.48.1-stable-674b77f0
OS & Version: Ubuntu 22.04.3 LTS
Commit hash: 674b77f08d71e834c3908d967482b6136c370ebd
Erigon Command (with flags/config):
Concensus Layer: Lighthouse v4.3.0-dfcb336
Concensus Layer Command (with flags/config):
Chain/Network: eth mainnet
Expected behaviour
Non-empty array
Actual behaviour
Empty array
Steps to reproduce the behaviour
Create a filter
Get the logs
Comparing to Alchemy
In this case the result is
Related Issues