TransactionReceiptNotFoundError Polygon waitForTransaction error in few seconds #3156
Unanswered
saqlain1020
asked this question in
Question
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
So i have viem deployed on production and some of the transactions on the backend are erroring out while waiting for transaction receipt. I increased the timeout to days but still the error occurs.
I get the txHash, but waitForTransaction errors in arround 5-10 seconds i guess, not sure about the time interval cause it happened on production
I am using ankr private rpc for both public and wallet client.
I am now implementing custom timeout and retry logic on top of publicClient.waitForTransactionReceipt so i don't get this issue.
Beta Was this translation helpful? Give feedback.
All reactions