GETGet address state

TON Mainnethttps://ton-mainnet.nodit.io/api/v2/getAddressState
CU60

Returns the lifecycle state of an account. Possible values: uninitialized (address has no deployed contract but can receive GRAM), active (contract is deployed and working), frozen (contract state frozen). Refer to the account lifecycle states documentation for details. Check this before interacting with a contract.

Query Parameters
addressstringrequired

The account address to query, in raw or user-friendly format.

seqnointeger (int32)

Query state at a specific block height. If omitted, returns the current state. Use this to look up historical data at a specific point in time.

Responses
okbooleanrequired

Returns true if the request succeeded; otherwise false. See the error field for details.

resultstring (enum)required

Response data. Present only when ok is true.

@extrastring

Optional request ID that can be passed in the request and received back in the response. Useful for matching async responses.

X-API-KEY
Request
cURL
curl -X GET "https://ton-mainnet.nodit.io/api/v2/getAddressState?address=EQC5QeYg31ggWlkLDW6-kZxmubzqf8_TT3VjPSIbf6QwqFtN" \
  -H "X-API-KEY: {YOUR_API_KEY}"
Response
Example · 200
{
  "ok": true,
  "result": "active",
  "@extra": "1795684365:10:8.307"
}