Layer 231
method
wallet.tonConnectGetPending#11aee065 flags:# dapp_client_id:flags.0?string session_id:flags.1?long = wallet.TonConnectPending;

Parameters

Name Type Description
DappClientId flags.0?string Client ID of the d App, to look the session up by d App
SessionId flags.1?long ID of the TON Connect session

Gogram Example

res, err := client.WalletTonConnectGetPending("", sessionID)
if err != nil {
	log.Fatal(err)
}
for _, r := range res.Requests {
	fmt.Printf("msg %d topic=%q expires %s (%d encrypted bytes)\n", r.MsgID, r.Topic, time.Unix(int64(r.Expires), 0), len(r.Body))
}