Last updated 11 months ago
Obtain BRC20 token infomation by address, including available balance, transferable balance, number of transferable inscriptions, the first few Inscriptions, etc.
Address
Token ticker
Successful operation
"OK"
const response = await fetch('https://open-api.unisat.io/v1/indexer/address/{address}/brc20/{ticker}/info', { method: 'GET', headers: {}, }); const data = await response.json();
{ "code": 0, "msg": "OK", "data": { "ticker": "text", "overallBalance": "text", "availableBalance": "text", "availableBalanceSafe": "text", "availableBalanceUnSafe": "text", "transferableBalance": "text", "historyInscriptions": [ { "data": { "amt": "text", "decimal": "text", "lim": "text", "max": "text", "minted": "text", "op": "text", "tick": "text", "to": "text" }, "inscriptionId": "text" } ], "transferableInscriptions": [ { "data": { "amt": "text", "decimal": "text", "lim": "text", "max": "text", "minted": "text", "op": "text", "tick": "text", "to": "text" }, "inscriptionId": "text" } ] } }