[v2] Get Bitcoin UTXOs (Mempool-Aware)

get

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.

Authorizations
Path parameters
addressstring · BitcoinAddress · min: 10RequiredDefault: bc1q0egjvlcfq77cxd9kvpgppyuxckzvws46e3sxch
Query parameters
offsetnumberOptionalDefault: 0
limitnumber · min: 25 · max: 60OptionalDefault: 60
Responses
200

Paginated Utxo list

application/json
get
/v2/bitcoin/address/{address}/utxo
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