handleTonRequest
handleTonRequest(
account,request,options):Promise<TonRpcResponse>
Defined in: walletconnect-ton/src/requests.ts:120
Answer one WalletConnect session_request on the ton namespace. Resolves to the JSON-RPC
response to send (walletKit.respondSessionRequest({ topic, response })); it does not throw for a
refused or failed request.
account is the session’s account: a signing WalletAccountTon (wrap it with applyPolicies so
the app’s policies run), or a read-only one plus options.withSigner, which opens the signing
account only after the review said yes.
Parameters
Section titled “Parameters”account
Section titled “account”TonWcAccount | TonWcSigningAccount
request
Section titled “request”options
Section titled “options”Returns
Section titled “Returns”Promise<TonRpcResponse>