Skip to main content
GET
/
getAddressInformation
Get account state and balance
curl --request GET \
  --url https://toncenter.com/api/v2/getAddressInformation
{
  "ok": true,
  "result": {
    "balance": "<string>",
    "last_transaction_id": {
      "lt": "<string>",
      "hash": "<string>",
      "@type": "internal.transactionId"
    },
    "state": "uninitialized",
    "@type": "raw.fullAccountState",
    "address": {
      "account_address": "<string>",
      "@type": "accountAddress"
    },
    "extra_currencies": [
      {}
    ],
    "code": "<string>",
    "data": "<string>",
    "block_id": {
      "workchain": 123,
      "shard": "<string>",
      "seqno": 123,
      "root_hash": "<string>",
      "file_hash": "<string>",
      "@type": "ton.blockIdExt"
    },
    "frozen_hash": "<string>",
    "sync_utime": 123,
    "@extra": "<string>"
  },
  "error": "<string>",
  "code": 123
}

Query Parameters

address
string
required

Identifier of target TON account in any form.

Response

Successful Response

ok
boolean
required
result
Result · object

Raw account state augmented with computed state. Fields come directly from tonlib.

error
string
code
integer