Path Parameters
- xpub_or_addressstringREQUIRED
An address, an extended public key, or an output descriptor. Supported descriptor form:
pkh(...). Must be an account-level key, not a master key. URL-encode the descriptor when placing it in the REST path.
Descriptors containing a / are not supported and return an error.
This includes:
- key origin prefixes:
pkh([73c5da0a/44'/133'/0']xpub...) - multipath selectors:
pkh(xpub.../<0;1>/*) - explicit branch paths:
pkh(xpub.../0/*)
Percent-encoding the slash does not help. Note the origin prefix cannot be shortened either, since it contains slashes of its own.
Use the bare form instead - pkh(xpub...) - which is fully supported. The branch selector is unnecessary: Blockbook automatically scans both the receive (0) and change (1) branches for the account.
Query Parameters
- confirmedboolean
When set to true, only returns confirmed UTXOs. When false or omitted, returns both confirmed and unconfirmed.
- gapinteger
The gap limit used when deriving addresses from an extended public key (xpub). Defaults to 20.
Returns
- txidstring
Transaction ID of the UTXO
- voutinteger
Output index in the transaction
- valuestring
UTXO value in satoshis
- heightinteger
Block height where the UTXO was created
- confirmationsinteger
Number of confirmations
- addressstring
The address this UTXO belongs to. Returned only for xpub and descriptor queries; omitted for single-address queries.
- pathstring
BIP32 derivation path of the address, e.g.
m/44'/133'/0'/0/0. The last two segments are the branch (0 = receive, 1 = change) and the address index. Returned only for xpub and descriptor queries; omitted for single-address queries.
1[2{3"txid": "b9bc7e1675fe71ebffc5d252f28c02e41208bd4ab481d6f14884418bd8ea08a1",4"vout": 0,5"value": "125050000",6"height": 3371083,7"confirmations": 51,8"coinbase": true9},10{11"txid": "208e905668569cd5e14c1a7a82002bad7ccdc48f1cf9c93de2a8b32e15d42f34",12"vout": 0,13"value": "125194068",14"height": 3371053,15"confirmations": 81,16"coinbase": true17}18]
1[2{3"txid": "b9bc7e1675fe71ebffc5d252f28c02e41208bd4ab481d6f14884418bd8ea08a1",4"vout": 0,5"value": "125050000",6"height": 3371083,7"confirmations": 51,8"coinbase": true9},10{11"txid": "208e905668569cd5e14c1a7a82002bad7ccdc48f1cf9c93de2a8b32e15d42f34",12"vout": 0,13"value": "125194068",14"height": 3371053,15"confirmations": 81,16"coinbase": true17}18]