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 #11

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

### Your Question #11

Garibaldi2000 opened this issue Jan 10, 2025 · 0 comments
Assignees
Labels
bug Something isn't working good first issue Good for newcomers

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

@Garibaldi2000 Garibaldi2000 added bug Something isn't working good first issue Good for newcomers labels Jan 10, 2025
@Garibaldi2000 Garibaldi2000 self-assigned this Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant