utils
Detect address
Validates an address and returns it in all standard formats. Use this to convert between address formats or to validate user input. Returns raw format (0:abc), base64 bounceable (EQ), base64 non-bounceable (UQ), and URL-safe variants.
get/api/v2/detectAddress
Request
- Base URL: https://toncenter.com (the document declares no server; this is the origin it was published from)
- URL: https://toncenter.com/api/v2/detectAddress
- Auth: one of:
- API key in header X-API-Key
- API key in query parameter api_key
Query parameters
addressstring required
Account address in raw format (e.g., 0:ca6e321c...) or user-friendly format (e.g., EQDKbjIcfM...). All formats are automatically detected.
The account address to query, in raw or user-friendly format.
Response
Returns the address in all supported formats (raw, bounceable, non-bounceable) with base64 and URL-safe variants.
Changes
No recorded changes to this operation across all 1 revision of this API.