-
Notifications
You must be signed in to change notification settings - Fork 140
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
Filter API in JSON-RPC Relay #775
Conversation
Signed-off-by: georgi-l95 <glazarov95@gmail.com> draft filter api hip Signed-off-by: georgi-l95 <glazarov95@gmail.com> add hip number Signed-off-by: georgi-l95 <glazarov95@gmail.com>
✅ Deploy Preview for hedera-hips ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
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.
Looks great, tyvm @georgi-l95 !
|
||
The JSON-RPC Relay enables clients to query for particular events, but they have to provide new params on every request. | ||
|
||
Currently, in order to retrieve newly created contract logs developers need to constantly query the `eth_getLogs` method. This requires custom logic on developer side, to provide new parameters for this events on every poll. |
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.
Isn't eth_subscribe an alternative to constantly querying as well?
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.
Yes it is. If you don't want to use websocket, this is the way.
Signed-off-by: georgi-l95 <glazarov95@gmail.com>
Signed-off-by: georgi-l95 <glazarov95@gmail.com>
Signed-off-by: Michael Garber <michael.garber@swirldslabs.com>
Signed-off-by: georgi-l95 <glazarov95@gmail.com> Signed-off-by: Michael Garber <michael.garber@swirldslabs.com> Co-authored-by: Michael Garber <michael.garber@swirldslabs.com> Signed-off-by: Kim Rader <kim.rader@swirldslabs.com>
This HIP proposes adding Filter API to the JSON-RPC Relay