Skip to content
docs

tonSessionNamespace

tonSessionNamespace(account, options?): TonSessionNamespace | undefined

Defined in: walletconnect-ton/src/session.ts:66

The ton namespace for approveSession, on the account’s own network. chains are the TON chains the proposal asked for (see tonProposalChains); when they do not include the account’s network the result is undefined and TON is left out of the session (reject the proposal if TON was required). Omit chains to approve the account’s network as is.

TonWcAccount

readonly string[]

TonSessionNamespace | undefined