Get BRC20 tick by name, returns a json object with the BRC20 tick info.
GET http://{ip}:{port}/api/v1/brc20/tick/{tick}
Parameter | Type | Description | Notes |
---|---|---|---|
tick | String | The BRC20 tick name. | [default to null] |
Parameter | Type | Description |
---|---|---|
code | Integer | The response code. |
msg | String | A message describing the error. |
data | Object | It is a object with the tick info. |
> tick | String | The tick name list. |
> inscriptionId | String | The inscription id. |
> inscriptionNumber | Number | The inscription number. |
> supply | Number | The tick supply. |
> limitPerMint | Number | The tick transaction limit. |
> minted | Number | The tick has minted number. |
> decimal | Number | The tick decimal. |
> deployBy | String | The tick deploy by owner. |
>> address | String | The tick deploy's address. |
>> scriptHash | String | The tick deploy's scripHash . |
> txid | String | The transaction hash . |
> deployHeight | Number | The transaction block height. |
> deployBlocktime | Number | The transaction block time. |
curl --location --request GET 'http://{ip}:{port}/api/v1/brc20/tick/ordi'
{
"code": 0,
"msg": "ok",
"data": {
"tick": "ordi",
"inscriptionId": "b61b0172d95e266c18aea0c624db987e971a5d6d4ebc2aaed85da4642d635735i0",
"inscriptionNumber": 348020,
"supply": "21000000000000000000000000",
"limitPerMint": "1000000000000000000000",
"minted": "21000000000000000000000000",
"decimal": 18,
"deployBy": {
"address": "bc1pxaneaf3w4d27hl2y93fuft2xk6m4u3wc4rafevc6slgd7f5tq2dqyfgy06"
},
"txid": "b61b0172d95e266c18aea0c624db987e971a5d6d4ebc2aaed85da4642d635735",
"deployHeight": 779832,
"deployBlocktime": 1678248991
}
}