Skip to content

Lesson 10: handleSuccess = async (tx) where does tx come from? #1473

Answered by alymurtazamemon
0xCardiE asked this question in Q&A
Discussion options

You must be logged in to vote

@adriadrop the onSuccess will return the response to its callback that is how you can getting it inside handleSuccess function.

it is equivalent to this:

onSuccess: (tx) {

}

here instead of tx you can name it whatever you want.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@0xCardiE
Comment options

@alymurtazamemon
Comment options

Answer selected by alymurtazamemon
Comment options

You must be logged in to vote
0 replies
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