Get Best Block Height

Get the best block height of BRC20 data.

get
/v1/indexer/brc20/bestheight

Get the best block height of BRC20 data. This value will be consistent with the latest block height a short time after the block has been confirmed.

Authorizations
Responses
200

Successful operation

application/json
get
/v1/indexer/brc20/bestheight
GET /v1/indexer/brc20/bestheight HTTP/1.1
Host: open-api.unisat.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "code": 0,
  "msg": "OK",
  "data": {
    "height": 1,
    "total": 1
  }
}

Last updated