Get BRC-100 Address Balances
Get address balances, including balance, balance transferrable.
page index, max: 500
page size, max: 20
GET /v1/indexer/brc100/address/balances HTTP/1.1
Host: open-api.inbrc.org
Authorization: Bearer API Key
Accept: */*
{
"code": 1,
"msg": "text",
"data": {
"total": 1,
"pageSize": 1,
"page": 1,
"records": 1,
"rows": [
{
"protocol": "text",
"ticker": "text",
"user": "text",
"balance": "text",
"balanceTransferrable": "text"
}
]
}
}
Like BRC-20, there are two types of balances in BRC-100, but the caculation of UTXO balance is different from BRC-20:
balance: the total balance of address, "mint"/"mint2"/"mint3" inscriptions inscribed + "transfer" inscriptions transferred to address - "transfer"/"burn"/"burn2"/"burn3" inscriptions transferred from address. The "status" attribute of inscriptions should be 2 (success).
balanceTransferrable: the balance inscribed as "transfer"/"burn"/"burn2"/"burn3" inscriptions, "transfer"/"burn"/"burn2"/"burn3" inscriptions inscribed - "transfer"/"burn"/"burn2"/"burn3" inscriptions transferred from address. The "status" attribute of inscriptions should be 2 (success).
Balance Available: balance - balanceTransferrable, the balance can be inscribed.
Last updated