0

I am trying to monitor pending transactions with python web3 and an infura node. I am currently using web3.eth.getBlock(block_identifier='pending', full_transactions=True) on a loop to fetch pending transactions, but it seems to be missing some transactions and completely ignores transactions with lower gas prices.

I have tried using w3.eth.filter('pending') but that just gives an error ValueError: {'code': -32601, 'message': 'The method eth_newPendingTransactionFilter does not exist/is not available'}

Is there any way to access the full txpool on python with an infura node?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.