More resources
Get transferable by address

Get transferable by address#

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

Request address#

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

Request param#

ParameterTypeDescriptionNotes
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/address/16G1xYBbiNG78LSuZdMqp6tux5xvVp9Wxh/transferable'

Response example#

200
{
{
    "code": 0,
    "msg": "ok",
    "data": {
        "inscriptions": [
            {
                "inscriptionId": "d4d1a208cdd969b75321dd1ec32f59a55fc879c9aed27e2e484fa764ddae46bbi0",
                "inscriptionNumber": 10507309,
                "amount": "100585000000000000000000",
                "tick": "$BSV",
                "owner": "16G1xYBbiNG78LSuZdMqp6tux5xvVp9Wxh"
            },
            {
                "inscriptionId": "9ad32024f3d1a879d9b5aabc73f813287327cfd75d4409206b9224432be5f3f0i0",
                "inscriptionNumber": 7967081,
                "amount": "146807000000000000000000",
                "tick": "bank",
                "owner": "16G1xYBbiNG78LSuZdMqp6tux5xvVp9Wxh"
            },
            {
                "inscriptionId": "3b29bd4f725f1bc27aff60d15f8f1690b152b44d63837eeb931a821a24d57929i0",
                "inscriptionNumber": 8840135,
                "amount": "594196000000000000000000",
                "tick": "bank",
                "owner": "16G1xYBbiNG78LSuZdMqp6tux5xvVp9Wxh"
            }
        ]
    }
}
}