-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add eth_getLogs rpc endpoint #2146
Conversation
0e554c7
to
9b49c2e
Compare
Pull Request Test Coverage Report for Build 4162a842-d7d4-4405-8451-b6aed1f91989
💛 - Coveralls |
2d5858a
to
d7d3f0d
Compare
d7d3f0d
to
c4746e0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've got Internal server error
on stg with the request:
curl -H "Content-type: application/json" -X POST --data '{"jsonrpc":"2.0","method":"eth_getLogs","params":[{"topics":["0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef"], "fromBlock": "0x79A2E3"}],"id":1}'
c4746e0
to
2551fd5
Compare
@zachdaniel when there is nothing to return in response, this method returns
|
The url is misspelled, so it is trying to route you to the other RPC (the one that takes module and action). You have |
Indeed, thanks! |
Resolves #2016
Motivation
Changelog
Enhancements
Add
eth_getLogs
endpoint to the eth copy api.CHANGELOG.md
with this PR