Skip to content

Check if a TX was really rejected #4088

Closed Answered by zemse
moneyDev1111 asked this question in Q&A
Discussion options

You must be logged in to vote

I think yes, if the wait() method returns status 0 then it means it's over, no further changes will occur

that's correct no changes will occur. status is a detail from receipt which is available only after a tx has been included in a block successfully. 1 means if the tx was successful and 0 means tx fail for certain reason like revert, out of gas etc

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@zemse
Comment options

zemse Jun 14, 2023
Collaborator

Answer selected by moneyDev1111
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants