Get account info by state init
Data that is expected
account info
"NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2ODQ3..."
"0:97146a46acc2654y27947f14c4a4b14273e954f78bc017790b41208b0043200b"
const response = await fetch('https://ton-open-api.nownodes.io/v2/tonconnect/stateinit', { method: 'POST', headers: { "Content-Type": "application/json" }, body: JSON.stringify({ "state_init": "text" }), }); const data = await response.json();
{ "public_key": "NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2ODQ3...", "address": "0:97146a46acc2654y27947f14c4a4b14273e954f78bc017790b41208b0043200b" }