Get BRC-20 Ticker Info

get

Get the infomation of BRC20 by ticker.

Authorizations
Path parameters
tickerstringRequired

Token ticker

Responses
200
Successful operation
application/json
get
GET /v1/indexer/brc20/{ticker}/info HTTP/1.1
Host: open-api.unisat.io
Authorization: Bearer JWT
Accept: */*
{
  "code": 0,
  "msg": "OK",
  "data": {
    "ticker": "text",
    "creator": "text",
    "totalMinted": "text",
    "confirmedMinted": "text",
    "confirmedMinted1h": "text",
    "confirmedMinted24h": "text",
    "completeBlocktime": 1,
    "completeHeight": 1,
    "inscriptionNumberEnd": 1,
    "inscriptionNumberStart": 1,
    "minted": "text",
    "mintTimes": 1,
    "historyCount": 1,
    "holdersCount": 1,
    "txid": "text",
    "deployHeight": 1,
    "deployBlocktime": 1,
    "inscriptionId": "text",
    "inscriptionNumber": 1,
    "max": "text",
    "decimal": 1,
    "limit": "text"
  }
}

Due to the inability to transmit special characters on the router, for tickers containing special characters, please use the hexadecimal encoding format.

export function stringToHex(stringToEncode: string) {
    return Buffer.from(stringToEncode).toString('hex')
}

Last updated