[v2] Get Bitcoin UTXOs (Mempool-Aware)
Mempool-aware: Retrieve UTXOs. This endpoint considers both confirmed and unconfirmed utxos. When a confirmed UTXO is spent in the mempool, it will not be returned here as its no longer a utxo. To query confirmed-only endpoint use /v1/bitcoin/address/:address/utxo.
Iterate using offset if hasMore is true.
UTXO filtering:
excludeNonVoidProtocolInscriptionUtxos - When true, excludes UTXOs that hold valuable inscriptions, but can include void protocol inscriptions (e.g. BRC-20, TAP spent inscriptions).
excludeAllInscriptionUtxos - When true, excludes all inscription-bearing UTXOs, including both valuable inscriptions(non-void protocol inscriptions) and void protocol inscriptions. Implies excludeNonVoidProtocolInscriptionUtxos=true.
bc1q0egjvlcfq77cxd9kvpgppyuxckzvws46e3sxch060falsefalsePaginated Utxo list
Paginated Utxo list
Invalid input
Unauthorized
Not found
Rate limit exceeded
Internal server error
GET /v2/bitcoin/address/{address}/utxo HTTP/1.1
Host: api.secretkeylabs.io
x-api-key: YOUR_API_KEY
Accept: */*
{
"hasMore": true,
"items": [
{
"txid": "text",
"vout": 1,
"value": 1,
"status": {
"confirmed": true,
"blockHeight": 1,
"blockHash": "text",
"blockTime": 1
}
}
]
}Last updated