Returns the lifecycle state of an account. Possible values: uninitialized (address has no deployed contract but can receive TON), active (contract is deployed and working), frozen (contract suspended due to zero balance, send TON to unfreeze). Check this before interacting with a contract.
The account address to query. You can use any format: raw (0:abcd), base64 (EQ), or base64url (UQ). The API automatically detects and converts the format. A TON account address. Accepts raw format (workchain:hex like 0:abc...), base64 bounceable (EQ...), base64 non-bounceable (UQ...), or base64url. 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.
OK
Response containing the account lifecycle state.
Indicates if the request succeeded. If false, check the error field for details.
The response data. Only present when ok is true.
uninitialized, active, frozen Optional request ID that you can pass in the request and receive back in the response. Useful for matching async responses.