How Do I List Bitcoin Testnet SegWit UTXOs?
Short answer
UTXOs are the individual spendable outputs underlying a wallet's balance. They are not the same as a single account balance.
CURL command
The following command follows the examples published in the THAMER API reference. Set BASE_URL to your own trusted Engine endpoint (the reference uses http://127.0.0.1:7070). Commands requiring authorization use KEY, your private BTC KEY. Install curl and jq locally.
RESP=$(curl -sS -X POST "$BASE_URL/api/v5/btc/wallet/receive" \
-H "X-BTC-KEY: $KEY" \
-H "Content-Type: application/json" \
-d '{"net":"test","type":"segwit"}')
echo "$RESP" | jq .
export ADDR_TEST=$(echo "$RESP" | jq -r '.result.address')
echo "ADDR_TEST=$ADDR_TEST"
How it works
This example also extracts the first returned TXID. If the list is empty, that extraction will not yield a usable transaction ID.
Important distinction
This is a documented command example, not a live execution or proof of a successful wallet operation. API responses and availability depend on the installed Engine, its wallet state, and Bitcoin Core. Never expose BTC KEY or BTC SECRET in logs or public examples.
