inBRC | BRC-100 Indexer
inBRCTestnet100SwapBRC-100
  • inBRC Introduction
  • inBRC Developer Service
    • BRC-100 Indexer
      • Get Latest Block
      • Get BRC-100 Address Balances
      • Get BRC-100 Address Balance
      • Get BRC-100 User State
      • Get BRC-100 Tokens
      • Get BRC-100 Token
      • Get BRC-100 Token History
      • Get BRC-100 Address History
    • inBRC Marketplace
      • Get BRC-100 Marketplace Tokens
      • Get BRC-100 Marketplace Token
    • BRC-100 Extension Protocols Indexer
      • BRC-101
      • BRC-102
    • inBRC Inscribe
  • inBRC $ins Tokenomics
  • inBRC Links
  • BRC-100 Protocol Stack
    • Introduction
      • Design Principles
      • Concepts
    • BRC-100 Protocol
Powered by GitBook
On this page
  1. inBRC Developer Service
  2. BRC-100 Indexer

Get BRC-100 Address Balance

PreviousGet BRC-100 Address BalancesNextGet BRC-100 User State

Last updated 8 months ago

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.

get

Get address balance by ticker, including balance, balance transferrable.

Authorizations
Query parameters
addressstringRequired
tickerstringRequired
Responses
200
Successful Operation.
application/json
401
Invalid Api Key!
get
GET /v1/indexer/brc100/address/balance HTTP/1.1
Host: open-api.inbrc.org
Authorization: Bearer API Key
Accept: */*
{
  "code": 1,
  "msg": "text",
  "data": {
    "protocol": "text",
    "ticker": "text",
    "user": "text",
    "balance": "text",
    "balanceTransferrable": "text"
  }
}