Lite Server
GET /v2/liteserver/get_account_state/{account_id}
Get raw account state
Request
- Base URLhttps://tonapi.io
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
account_idstring address required
Example:0:97264395BD65A255A429B11326C84128B7D70FFED7949ABAE3036D506BA38621
account ID
Query parameters
target_blockstring
Example:(-1,8000000000000000,4234234,3E575DAB1D25...90D8,47192E5C46C...BB29)
target block: (workchain,shard,seqno,root_hash,file_hash)
Response
raw account state
Example response
{
"id": {
"file_hash": "A6A0BD6608672B11B79538A50B2204E748305C12AA0DED9C16CF0006CE3AF8DB",
"root_hash": "131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85",
"seqno": 30699640,
"shard": "800000000000000",
"workchain": 4294967295
},
"proof": "131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85",
"shard_proof": "131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85",
"shardblk": {
"file_hash": "A6A0BD6608672B11B79538A50B2204E748305C12AA0DED9C16CF0006CE3AF8DB",
"root_hash": "131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85",
"seqno": 30699640,
"shard": "800000000000000",
"workchain": 4294967295
},
"state": "131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85"
}Changes
No recorded changes to this operation across all 1 revision of this API.