DNS

DNS resolve for domain name

get/v2/dns/{domain_name}/resolve

Path parameters

domain_namestring required
Example:wallet.ton

domain name with .ton or .t.me

Query parameters

filterboolean

Response

dns record

next_resolverstring maybe-address
sitesstring[] required
storagestring

tonstorage bag id

Example response

{
  "next_resolver": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf",
  "sites": [
    "http://12234.ton"
  ],
  "storage": "da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf",
  "wallet": {
    "account": {
      "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
      "icon": "https://ton.org/logo.png",
      "is_scam": true,
      "is_wallet": true,
      "name": "Ton foundation"
    },
    "address": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf",
    "has_method_pubkey": true,
    "has_method_seqno": true,
    "is_wallet": true,
    "names": [
      "name"
    ]
  }
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.