When I submit a transaction via web3 and metamask, it will await 280 seconds before timing out and returning the transaction receipt.
How can I catch this error and handle with it so that my app can continue waiting for the transaction to be mined?
Is there a way to loop it with the tx hash that you can generate prior to it timing out?
EDIT: What is the best way to handle this, by using filter? By simply catching and running a filter for the 50+ blocks it can run max, doesn't seem like the best way. Also, will the Txhash remain the same if I generate it before I execute the transaction and the transaction is delayed for a day due to gas costs?