ton-connect / sdk

SDK for TON Connect 2.0 — a comprehensive communication protocol between wallets and apps in TON ecosystem
Apache License 2.0
330 stars 98 forks source link

[UI-REACT]: how to get sendTransaction result in telegram TMA of PC or Mac #131

Open kai33 opened 10 months ago

kai33 commented 10 months ago

Your Question

in PC or Mac, when ton-connect's sendTransaction is called, the TMA will be closed by the wallet. although the wallet can redirect to a page after, but the result of sendTransaction (boc or in-msg hash) will be lost.

is there any way to get the sendTransaction result?

Context

in PC or Mac, using ton-connect to send transaction and verify the sent transaction.

What have you tried so far?

One workaround may be: when sendTransaction include unique id in the comment of the tx, then search for the unique id. but inconvenient.

Relevant Code or Commands

No response

Documentation Check