---
title: "GET /v2/liteserver/get_account_state/{account_id}"
method: GET
path: "/v2/liteserver/get_account_state/{account_id}"
tags: ["Lite Server"]
---

# GET /v2/liteserver/get_account_state/{account_id}

`GET /v2/liteserver/get_account_state/{account_id}`

## Request

- Base URL: `https://tonapi.io`
- URL: `https://tonapi.io/v2/liteserver/get_account_state/{account_id}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/tonapi/apis/rest-api-to-ton-blockchain-explorer/docs/v2/liteserver/get_account_state/:account_id/get.ts> (a function with typed inputs; its response is checked against the schema)

Get raw account state

## Path parameters

- `account_id` string, address, required

## Query parameters

- `target_block` string

## Response `200`

raw account state

- object
  - `id` BlockRaw, required
    - `file_hash` string, required
    - `root_hash` string, required
    - `seqno` integer, required
    - `shard` string, required
    - `workchain` integer, required
  - `proof` string, required
  - `shard_proof` string, required
  - `shardblk` BlockRaw, required
    - `file_hash` string, required
    - `root_hash` string, required
    - `seqno` integer, required
    - `shard` string, required
    - `workchain` integer, required
  - `state` string, required

## Other responses

- `default`: Some error during request processing

---

[API](https://skmtc.dev/tonapi/apis/rest-api-to-ton-blockchain-explorer.md) - [All operations](https://skmtc.dev/tonapi/apis/rest-api-to-ton-blockchain-explorer/llms.txt) - [OpenAPI document](https://skmtc.dev/tonapi/apis/rest-api-to-ton-blockchain-explorer/revisions/fc4add7a71a0?raw)
