Skip to main content

/detectAddress REST API Endpoint

Get all possible address forms.

Updated on
Oct 23, 2024

/detectAddress REST API Endpoint

Query Parameters

address
string
REQUIRED
Identifier of target TON account in any form

Returns

ok
boolean
Indicates whether the response was successful
result
object
The result object which contains the following fields:
raw_form
string
The raw hexadecimal representation of the address
bounceable
object
The bounceable object which contains the following fields:
b64
string
The bounceable address format encoded in base64 for error-resilient message sending
b64url
string
The URL-safe version of the bounceable base64-encoded address
non_bounceable
object
The non_bounceable object which contains the following fields:
b64
string
The non-bounceable address format encoded in base64, meaning messages are not returned if the recipient is unavailable
b64url
string
The URL-safe version of the non-bounceable base64-encoded address
given_type
string
The type of address being used
test_only
boolean
Indicates whether this data is for testing purposes only
Request
1
curl --location 'https://docs-demo.ton-mainnet.quiknode.pro/detectAddress?address=EQDJlZqZfh1OQ4PY2ze4bSEBznjc8fGzkE2YiP5XLvDv1M6u' \
2
--header 'accept: application/json'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free