Open
Description
Your Question
How to listen to sendTransaction, where the transaction was decline/cancelled by user?
window.addEventListener(
"ton-connect-ui-transaction-sent-for-signature",
(event) => {
console.log("Transaction init", event.detail);
}
);
window.addEventListener(
"ton-connect-ui-transaction-signing-failed",
(event) => {
console.log("Transaction signed failed", event.detail);
}
);
window.addEventListener("ton-connect-ui-transaction-signed", (event) => {
console.log("Transaction signed", event.detail);
});
i set above, and i only saw the ton-connect-ui-transaction-sent-for-signature!
when i decline the transaction on my wallet. i saw the notification on my app. but i'm didn't get anything from ton-connect-ui-transaction-signing-failed
Context
No response
What have you tried so far?
No response
Relevant Code or Commands
No response
Documentation Check
- Yes, I have checked the documentation.