Layer 231
WalletTonConnectGetSessions
Get all TON Connect sessions of the user's wallet, i. e. the d Apps it is connected or connecting to.
method
wallet.tonConnectGetSessions#a7ffb56e = wallet.TonConnectSessions;
Returns
wallet.TonConnectSessionsGogram Example
res, err := client.WalletTonConnectGetSessions() if err != nil { log.Fatal(err) } for _, s := range res.Sessions { name := s.DappClientID if s.Manifest != nil { name = s.Manifest.Name } fmt.Println(s.ID, name, "closed:", s.Closed) }