Get address state (active, uninitialized or frozen)
cURL
curl --request GET \ --url https://toncenter.com/api/v2/getAddressState
200
Example
{ "ok": true, "result": "uninitialized" }
import asyncio from toncenter.rest import ToncenterRestClient from toncenter.types import Network ADDRESS = "EQDtFpEwcFAEcRe5mLVh2N6C0x-_hJEM7W61_JLnSF74p4q2" async def main() -> None: async with ToncenterRestClient(network=Network.MAINNET) as client: result = await client.v2.accounts.get_address_state( ADDRESS, ) print(result) if __name__ == "__main__": asyncio.run(main())
Identifier of target TON account in any form
Seqno of a block
OK
true
Computed from code/frozen_hash by the API server.
uninitialized
active
frozen