Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

### Your Question #10

Open
1 task done
Garibaldi2000 opened this issue Jan 10, 2025 · 0 comments
Open
1 task done

### Your Question #10

Garibaldi2000 opened this issue Jan 10, 2025 · 0 comments

Comments

@Garibaldi2000
Copy link
Owner

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.

Originally posted by @CurryAyam in ton-connect/sdk#280

Repository owner locked and limited conversation to collaborators Jan 10, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant