polygon-etl icon indicating copy to clipboard operation
polygon-etl copied to clipboard

the method eth_newFilter does not exist/is not available

Open Noorah11 opened this issue 1 year ago • 1 comments

Could you please help me with the following error /lib/python3.9/site-packages/web3/manager.py", line 112, in request_blocking raise ValueError(response["error"]) ValueError: {'code': -32004, 'message': 'the method eth_newFilter does not exist/is not available'}

I get this error on executing the polygonetl export_all -p https://polygon-rpc.com -s 1100 -e 1111 -b 10 -o ./ command. I have changed the provider uril to our local setup node as well but get the same error

Noorah11 avatar Aug 01 '22 03:08 Noorah11

I’m not sure this works, but try eth_getLogs instead of eth_newFilter & eth_getFilterLogs? https://ethereum.stackexchange.com/questions/106868/listen-to-events-in-the-polygon-network-using-web3-py

https://docs.polygon.technology/docs/edge/get-started/json-rpc-commands/#eth_getfilterlogs

tokusyu avatar Aug 01 '22 12:08 tokusyu