Returns the current state of any account on the TON blockchain. Includes the balance (in nanotons), smart contract code and data (if deployed), account status, and a reference to the last transaction. This is the primary endpoint for checking if an address exists and what’s deployed there.
API key header of the form X-API-Key: <token>, where <token> is the API key. Requests without a key are limited to 1 RPS. Refer to the authentication guide for details.
The account address to query.
Account address in raw format (e.g., 0:ca6e321c...) or user-friendly format (e.g., EQDKbjIcfM...). All formats are automatically detected.
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.
The complete current state of the requested account.
Returns true if the request succeeded; otherwise false. See the error field for details.
Response data. Present only when ok is true.
Optional request ID that can be passed in the request and received back in the response. Useful for matching async responses.