py-etherscan-api icon indicating copy to clipboard operation
py-etherscan-api copied to clipboard

Check all failed transactions in last 100 blocks

Open ghost opened this issue 5 years ago • 0 comments

How do I get all the failed transactions in last 100 blocks using etherscan? Also the reason for failure and gas involved in the transaction

Examples mentioned here don't look helpful:

https://github.com/corpetty/py-etherscan-api/tree/master/examples/blocks

https://github.com/corpetty/py-etherscan-api/tree/master/examples/transactions

So I will have to request last 100 blocks, get transactions in them, get transactions details and filter for gas and status. How do I achieve this using etherscan?

ghost avatar Sep 04 '20 05:09 ghost