Skip to main content
GET
/
v2
/
liteserver
/
get_account_state
/
{account_id}
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"
}

Path Parameters

account_id
string<address>
required

account ID

Example:

"0:97264395BD65A255A429B11326C84128B7D70FFED7949ABAE3036D506BA38621"

Query Parameters

target_block
string

target block: (workchain,shard,seqno,root_hash,file_hash)

Example:

"(-1,8000000000000000,4234234,3E575DAB1D25...90D8,47192E5C46C...BB29)"

Response

raw account state

id
object
required
shardblk
object
required
shard_proof
string
required
Example:

"131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85"

proof
string
required
Example:

"131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85"

state
string
required
Example:

"131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85"