Get BRC20 transferable by tick and address, returns a json object with the BRC20 transferable info.
GET http://{ip}:{port}/api/v1/brc20/tick/{tick}/address/{address}/transferable
Parameter | Type | Description | Notes |
---|---|---|---|
tick | String | The BRC20 tick. | [default to null] |
address | String | The btc address. | [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 inscription info. |
> inscriptions | Array | The inscriptions info list. |
>> inscriptionId | String | The inscription id. |
>> inscriptionNumber | Number | The inscription number. |
>> amount | Number | The transferable balance. |
>> tick | String | The tick name. |
>> owner | String | The inscription owner. |
curl --location --request GET 'http://{ip}:{port}/api/v1/brc20/tick/ordi/address/16G1xYBbiNG78LSuZdMqp6tux5xvVp9Wxh/transferable'
{
"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"
}
]
}
}