WAB Engine RECEIVE, BALANCE and UTXOS API Reference
Short answer
Three wallet endpoints share the same authorization header and JSON selector. Choose net as test or main, and type as segwit or taproot.
Command
# Testnet SegWit example
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"}' | jq .
curl -sS -X POST "$BASE_URL/api/v5/btc/wallet/balance" \
-H "X-BTC-KEY: $KEY" -H "Content-Type: application/json" \
-d '{"net":"test","type":"segwit"}' | jq .
curl -sS -X POST "$BASE_URL/api/v5/btc/wallet/utxos" \
-H "X-BTC-KEY: $KEY" -H "Content-Type: application/json" \
-d '{"net":"test","type":"segwit"}' | jq .
Explanation
The installed reference repeats these request shapes for Testnet Taproot, Mainnet SegWit and Mainnet Taproot. RECEIVE may return .result.address; UTXOS may contain .result.utxos. Check ok and the response structure before extracting fields.
Safety and interpretation
Use the correct network; do not confuse testnet addresses with mainnet. Balance results depend on node synchronization and wallet discovery state.
