Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 16 additions & 3 deletions TonConnectSpecification.md
Original file line number Diff line number Diff line change
Expand Up @@ -293,14 +293,27 @@ Session payload is an opaque data object that the service sends over to the clie
Payload inside the [authenticator](#session-authenticator) contains the shared data items and is encoded in JSON.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#6

Any item may be missing if the user chose not to share it or it is not supported by the client.

Push notification API is an optional info. App may use it to send further TON Connect requests directly to the wallet, or tx signing requests per [wallet-api](https://github.com/tonkeeper/wallet-api).

```
{
"items": [
{
"type": "ton-address",
"value": "EQrt...s7Ui",
}
]
"address": "EQrt...s7Ui",
},
{
"type": "ton-ownership",
"address": "EQrt...s7Ui",
...
},
],
"push": {
"url": "https://tonapi.example.com/...",
"headers": {
"X-Push-ID": "f8a90d7edad893",
},
}
}
```

Expand Down