ether_sql
ether_sql copied to clipboard
Want to use infura websocket filter to search for new blocks
Is your feature request related to a problem? Please describe. Since the new_block_filter is not enabled in general Infura API we need to rely on websocket API to use this filter. Unfortunately this is not working with the web3.py websocket or Infura has an issue on their end.
- https://github.com/ethereum/web3.py/issues/1009
- https://github.com/INFURA/infura/issues/134#issuecomment-417135301
Describe the solution you'd like Once the issue gets resolved:
- We should provide the method to follow the ethereum chain using infura node as well
- Use a websocket with the Parity node as well to get the blocks
Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered. The current master implementation does not provide this option for the Ingura node.
@ankitchiplunkar I reached this issue through ethereum/web3.py#1009.
Unfortunately this is not working with the web3.py websocket or Infura has an issue on their end.
Can you test it again? I just tested this a few hours back. Infura
has fixed this on their end. WebsocketProvider
in web3.py
should work without any changes.
If you're still facing issues, then please report them on the web3.py
issue.
@voith checked this on my end as well works fine. Thanks for reaching out :)