Skip to content
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

Implement eth_newFilter and others #691

Open
matevz opened this issue Feb 4, 2025 · 0 comments
Open

Implement eth_newFilter and others #691

matevz opened this issue Feb 4, 2025 · 0 comments
Assignees

Comments

@matevz
Copy link
Member

matevz commented Feb 4, 2025

SUMMARY

There are two ways to subscribe to listening logs on EVM. The first one is eth_subscribe which is focused on catching events and is already supported by the Oasis Web3 gateway. The second one is eth_newFilter which are triggered when the contract state changes in the logs:
https://docs.metamask.io/services/reference/ethereum/json-rpc-methods/filter-methods/eth_newfilter/

COMPONENT NAME

Oasis Web3 gateway

ADDITIONAL INFORMATION

Calling eth_newFilter is the preferred way for listening events in Web3Py 6.2.x, and onwards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants