Get Names from an Address

Get Names from an Address

Code samples


const headers = {
  'Accept':'application/json'
};

fetch('https://tna-btc.com/api/userTapnames?address=bc1xxxxx',
{
  method: 'GET',

  headers: headers
})
.then(function(res) {
    return res.json();
}).then(function(body) {
    console.log(body);
});

GET /api/userTapnames

Parameters

Example responses

200 Response

{
  "code": 0,
  "message": "string",
  "data": {
    "tapnames": [
      {
        "name": "string",
        "ownTime": "string",
        "txid": "string",
        "assetId": "string"
      }
    ],
    "address": "string",
    "total": 0,
    "page": 0
  }
}

Responses

Response Schema

Status Code 200

Last updated