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 GET \ --url https://tonapi.io/v2/liteserver/get_account_state/{account_id}
{ "id": { "workchain": 4294967295, "shard": "800000000000000", "seqno": 30699640, "root_hash": "131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85", "file_hash": "A6A0BD6608672B11B79538A50B2204E748305C12AA0DED9C16CF0006CE3AF8DB" }, "shardblk": { "workchain": 4294967295, "shard": "800000000000000", "seqno": 30699640, "root_hash": "131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85", "file_hash": "A6A0BD6608672B11B79538A50B2204E748305C12AA0DED9C16CF0006CE3AF8DB" }, "shard_proof": "131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85", "proof": "131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85", "state": "131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85" }
{ "error": "<string>", "error_code": 123, "details": { "required": 123, "available": 123 } }
Get raw account state
account ID
"0:97264395BD65A255A429B11326C84128B7D70FFED7949ABAE3036D506BA38621"
target block: (workchain,shard,seqno,root_hash,file_hash)
"(-1,8000000000000000,4234234,3E575DAB1D25...90D8,47192E5C46C...BB29)"
raw account state
Show child attributes
"131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85"
Was this page helpful?