More resources
Get token tick

Get token tick#

Get BRC20 tick by name, returns a json object with the BRC20 tick info.

Request address#

GET http://{ip}:{port}/api/v1/brc20/tick/{tick}

Request param#

ParameterTypeDescriptionNotes
tickStringThe BRC20 tick name.[default to null]

Response param#

ParameterTypeDescription
codeIntegerThe response code.
msgStringA message describing the error.
dataObjectIt is a object with the tick info.
> tickStringThe tick name list.
> inscriptionIdStringThe inscription id.
> inscriptionNumberNumberThe inscription number.
> supplyNumberThe tick supply.
> limitPerMintNumberThe tick transaction limit.
> mintedNumberThe tick has minted number.
> decimalNumberThe tick decimal.
> deployByStringThe tick deploy by owner.
>> addressStringThe tick deploy's address.
>> scriptHashStringThe tick deploy's scripHash .
> txidStringThe transaction hash .
> deployHeightNumberThe transaction block height.
> deployBlocktimeNumberThe transaction block time.

Request example#

shell
curl --location --request GET 'http://{ip}:{port}/api/v1/brc20/tick/ordi'

Response example#

200
{
    "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
    }
}