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

Update filters.rst #2322

Merged
merged 2 commits into from
Mar 22, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions docs/filters.rst
Original file line number Diff line number Diff line change
@@ -44,8 +44,9 @@ The :meth:`web3.eth.Eth.filter` method can be used to setup filters for:
.. note ::

Creating event filters requires that your Ethereum node has an API support enabled for filters.
It does not work with Infura nodes. To get event logs on Infura or other
stateless nodes please see :class:`web3.contract.ContractEvents`.
Note that Infura support for filters does not offer access to `pending` filters.
To get event logs on other stateless nodes please see :class:`web3.contract.ContractEvents`.



Filter Class
@@ -179,7 +180,7 @@ Getting events without setting up a filter
------------------------------------------

You can query an Ethereum node for direct fetch of events, without creating a filter first.
This works on all node types, including Infura.
This works on all node types.

For examples see :meth:`web3.contract.ContractEvents.getLogs`.

1 change: 1 addition & 0 deletions newsfragments/2322.doc.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Clarify info about Infura filters over HTTP