Last updated 1 year ago
Get the full history of BRC20 by address.
Address
Successful operation
"OK"
const response = await fetch('https://open-api.unisat.io/v1/indexer/address/{address}/brc20/history?start=0&limit=0', { method: 'GET', headers: {}, }); const data = await response.json();
{ "code": 0, "msg": "OK", "data": { "detail": [ { "valid": false, "type": "text", "from": "text", "to": "text", "amount": "text", "overallBalance": "text", "availableBalance": "text", "transferBalance": "text", "inscriptionId": "text", "inscriptionNumber": 0, "height": 0, "blockhash": "text", "blocktime": 0, "txIdx": 0, "txid": "text", "satoshi": 0, "offset": 0 } ], "start": 0, "total": 0 } }
Token ticker
const response = await fetch('https://open-api.unisat.io/v1/indexer/address/{address}/brc20/{ticker}/history?type=inscribe-deploy&start=0&limit=0', { method: 'GET', headers: {}, }); const data = await response.json();
{ "code": 0, "msg": "OK", "data": { "detail": [ { "valid": false, "type": "text", "from": "text", "to": "text", "amount": "text", "overallBalance": "text", "availableBalance": "text", "transferBalance": "text", "inscriptionId": "text", "inscriptionNumber": 0, "height": 0, "blockhash": "text", "blocktime": 0, "txIdx": 0, "txid": "text", "satoshi": 0 } ], "start": 0, "total": 0 } }