start_ton_connect_session()

async Client.start_ton_connect_session()

Start a new TON Connect session for a decentralized application.

Usable by Users Bots
Parameters:
  • dapp_client_id (str) – The client identifier of the decentralized application.

  • manifest_url (str) – URL to the TON Connect manifest of the decentralized application.

Returns:

TonConnectSession – On success, the started TON Connect session is returned.

Example

session = await app.start_ton_connect_session(
    dapp_client_id="dapp_123",
    manifest_url="https://example.com/tonconnect-manifest.json",
)