More resources
Get transferable by tick

Get transferable by tick#

Get BRC20 transferable by tick and address, returns a json object with the BRC20 transferable info.

Request address#

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

Request param#

ParameterTypeDescriptionNotes
tickStringThe BRC20 tick.[default to null]
addressStringThe btc address.[default to null]

Response param#

ParameterTypeDescription
codeIntegerThe response code.
msgStringA message describing the error.
dataObjectIt is a object with the inscription info.
> inscriptionsArrayThe inscriptions info list.
>> inscriptionIdStringThe inscription id.
>> inscriptionNumberNumberThe inscription number.
>> amountNumberThe transferable balance.
>> tickStringThe tick name.
>> ownerStringThe inscription owner.

Request example#

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

Response example#

200
{
    "code": 0,
    "msg": "ok",
    "data": {
        "inscriptions": [
            {
                "inscriptionId": "5016071c0c0b57e44ff9cacd7f5dd92becfa0311f9be20e412a07c58a88e2b6ci0",
                "inscriptionNumber": 7949230,
                "amount": "8063000000000000000000",
                "tick": "ordi",
                "owner": "16G1xYBbiNG78LSuZdMqp6tux5xvVp9Wxh"
            },
            {
                "inscriptionId": "4250ba2f62c3f9bcd7016172c276e6ada9b4b7d2567855d6894081429cfd5697i0",
                "inscriptionNumber": 10316568,
                "amount": "1000000000000000000",
                "tick": "ordi",
                "owner": "16G1xYBbiNG78LSuZdMqp6tux5xvVp9Wxh"
            }
        ]
    }
}