Skip to content

Just need more clarity on response and receipt` functions #2504

Answered by othaime-en
TimeKeyRoll asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @MasterofBlockchain why don't you try not putting anything inside wait() and see if it works or doesn't. That's the best way you will learn. Not everything will be available on the web for you to learn, sometimes you have to tinker and experiment with things yourself. That's the approach I use and it is very effective. I highly recommend. To experiment yourself, you could add a console.log(txReceipt) after const txReceipt = await txResponse.wait(1) and see if you get something back. Then try again when wait() is empty and see if you still get the txReceipt back. That's how you experiment and learn.

Hint: It still works but the best way to know and learn would be to do it yourself. So …

Replies: 2 comments 15 replies

Comment options

You must be logged in to vote
9 replies
@RoboCrypter
Comment options

@TimeKeyRoll
Comment options

@RoboCrypter
Comment options

@TimeKeyRoll
Comment options

@othaime-en
Comment options

Comment options

You must be logged in to vote
6 replies
@othaime-en
Comment options

@TimeKeyRoll
Comment options

@othaime-en
Comment options

@TimeKeyRoll
Comment options

@othaime-en
Comment options

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