From 78a66758129daee5d407be43fe0e5786718f18f3 Mon Sep 17 00:00:00 2001 From: Dawid Sowa Date: Mon, 16 Dec 2024 15:28:50 +0100 Subject: [PATCH] docs: extend example for preauthorization with `onSubmittedSuccesss` --- packages/dapp-toolkit/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/dapp-toolkit/README.md b/packages/dapp-toolkit/README.md index 8e2e097..1c93c64 100644 --- a/packages/dapp-toolkit/README.md +++ b/packages/dapp-toolkit/README.md @@ -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)) ) ```