Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
cURL
curl --request POST \ --url https://tonapi.io/v2/tonconnect/stateinit \ --header 'Content-Type: application/json' \ --data ' { "state_init": "<string>" } '
{ "public_key": "NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2ODQ3...", "address": "0:97146a46acc2654y27947f14c4a4b14273e954f78bc017790b41208b0043200b" }
Get account info by state init
Data that is expected
account info
"NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2ODQ3..."
"0:97146a46acc2654y27947f14c4a4b14273e954f78bc017790b41208b0043200b"
Was this page helpful?