Cryptocurrency Ethereum Mastering Development

Detecting dropped and replaced transactions

I am using Given a transaction hash, is there any way to determine if a transaction was dropped and replaced by another transaction with the same nonce? Currently i am looping w3.eth.getTransactionReceipt(tx_hash) in a try/except to detect when the transaction has been confirmed. while(True): try: tx = w3.eth.getTransactionReceipt(tx_hash) except: continue break If the transaction […]