polygon-etl
polygon-etl copied to clipboard
the method eth_newFilter does not exist/is not available
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
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