[v2] Rune Balances (Mempool-Aware)
Get confirmed and unconfirmed runes balance. balance fields explained:
confirmedBalanceis the rune balance ignoring unconfirmed transactions in mempool.availableBalanceis the confirmed balance minus amounts used by any outgoing unconfirmed transaction in mempool.projectedBalanceis the final balance if all unconfirmed mempool transactions are confirmed.pendingBalanceis a breakdown of the unconfirmed transactions amounts. They represent aggregate amounts for the whole mempool activity, so as more transactions are chained together the amounts will increase.incomingAmountis the sum of all incoming unconfirmed amounts.outgoingAmountis the sum of all outgoing unconfirmed amounts.netAmountisincoming-outgoing. ThenetAmountcan be negative, when sending more than receiving. It should always match what is expected to be added to the confirmed balance when all unconfirmed transactions are confirmed, which is computed asprojectedBalancefor convenience.
bc1q0egjvlcfq77cxd9kvpgppyuxckzvws46e3sxchDefault Response
Invalid input
Unauthorized
Not found
Rate limit exceeded
Internal server error
GET /v2/runes/address/{address}/balance HTTP/1.1
Host: api.secretkeylabs.io
x-api-key: YOUR_API_KEY
Accept: */*
{
"balances": [
{
"runeId": "text",
"divisibility": 1,
"symbol": "text",
"runeName": "text",
"confirmedBalance": "text",
"availableBalance": "text",
"projectedBalance": "text",
"pendingBalance": {
"incomingAmount": "text",
"outgoingAmount": "text",
"netAmount": "text"
}
}
],
"indexerHeight": 1
}Last updated