Accounts

GET /v2/accounts/{account_id}/dns/expiring

Get expiring account .ton dns

Request

Path parameters

account_idstring address required
Example:0:97264395BD65A255A429B11326C84128B7D70FFED7949ABAE3036D506BA38621

account ID

Query parameters

periodinteger

number of days before expiration

Response

account's expiring .ton dns

Example response

{
  "items": [
    {
      "dns_item": {
        "address": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
        "approved_by": [
          "getgems"
        ],
        "collection": {
          "address": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
          "description": "Best collection in TON network",
          "name": "TON Diamonds"
        },
        "dns": "crypto.ton",
        "index": 58,
        "metadata": {},
        "owner": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "icon": "https://ton.org/logo.png",
          "is_scam": true,
          "is_wallet": true,
          "name": "Ton foundation"
        },
        "previews": [
          {
            "resolution": "100x100",
            "url": "https://site.com/pic1.jpg"
          }
        ],
        "sale": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "market": {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "icon": "https://ton.org/logo.png",
            "is_scam": true,
            "is_wallet": true,
            "name": "Ton foundation"
          },
          "owner": {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "icon": "https://ton.org/logo.png",
            "is_scam": true,
            "is_wallet": true,
            "name": "Ton foundation"
          },
          "price": {
            "currency_type": "jetton",
            "decimals": 9,
            "image": "https://cache.tonapi.io/images/jetton.jpg",
            "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0",
            "token_name": "Gram",
            "value": "123000000000",
            "verification": "whitelist"
          }
        },
        "trust": "whitelist",
        "verified": true
      },
      "expiring_at": 1678275313,
      "name": "blah_blah.ton"
    }
  ]
}

Changes

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