Skip to content

Commit

Permalink
docs: extend example for preauthorization with onSubmittedSuccesss
Browse files Browse the repository at this point in the history
  • Loading branch information
dawidsowardx committed Dec 16, 2024
1 parent 96752a3 commit 78a6675
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/dapp-toolkit/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -514,6 +514,7 @@ Creation of preauthorization request object is abstracted away into `SubintentRe
)
// .addBlobs('blob1', 'blob2')
.message('This is a message')
.onSubmittedSuccess((transactionIntentHash) => console.log('Submitted successfully', transactionIntentHash))
)
```

Expand Down

0 comments on commit 78a6675

Please sign in to comment.