WAB BALANCE_WARMING JSON Field Reference
Observed waiting fields: ok=false, error=BALANCE_WARMING, request_id, detail.hint, last_attempt_at, net, reason, retry_after_sec (optional), scan_budget_sec, scan_in_progress, scan_elapsed_sec (optional), scan_started_at (optional), and type.
Reproduce the query
export BASE_URL="http://127.0.0.1:7070"
# Set KEY privately in your terminal; never publish its real value.
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 .
export BASE_URL="http://127.0.0.1:7070"
# Set KEY privately in your terminal; never publish its real value.
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 .
Observed waiting response
{"ok":false,"error":"BALANCE_WARMING","detail":{"reason":"first_scan_pending","retry_after_sec":34,"scan_budget_sec":900,"scan_in_progress":false,"net":"test","type":"segwit"}}
Observed ready response (selected fields)
{"ok":true,"result":{"net":"main","type":"taproot","status":"fresh","balance_sat":0,"confirmed_sat":0,"spendable_sat":0,"utxo_count":0}}
These examples intentionally show selected fields, not a verbatim complete response.
Field-by-field interpretation
ok: whether this API request succeeded.
request_id: per-request diagnostic identifier.
erroranddetail: error code and waiting metadata when not ready.
first_scan_pending: the initial reconciliation is not yet ready.
scan_in_progress: a scan is running.
retry_after_sec: optional retry guidance; observed value 34.
scan_budget_sec: scan time budget; observed value 900, not a guaranteed completion deadline.
scan_started_at,scan_elapsed_sec,last_attempt_at: scan timestamps and elapsed time.
balance_sat,confirmed_sat,spendable_sat: wallet amounts reported in satoshis for the requested scope.
change_sat: observed as 0 in all four successful snapshots.
reserved_confirmed_sat,unreserved_confirmed_sat: confirmed value separated by reservation state.
pending_spend_sat,pending_spend_source: pending spend amount and its reported attribution source.
incoming_unconfirmed_sat,unconfirmed_included: observed incoming unconfirmed value and inclusion flag.
mempool_checked_at,mempool_tx_count,mempool_watch_status,unconfirmed_attribution: mempool observation metadata.
checked_at,scan_height,lag_blocks,status,source: confirmed snapshot metadata and reported freshness.
btc_id,identity_version,seen,net,type: identity and scope metadata.
utxo_count,utxos: output count and, for UTXOS requests, output details.
address,chain,index,reserved,txid,value_sat,vout: per-output address, derivation and outpoint fields.
Safety and limitations
Never publish a real BTC KEY or BTC SECRET. All reported TXIDs and addresses are public Bitcoin identifiers, but they can reveal transaction relationships. status=fresh does not independently prove that a later send will succeed. Mainnet and Testnet are separate networks. The behavior described here is supported by the supplied responses; deeper implementation claims require source review.
Further reading
https://thamer.org/api
https://thamer.org/engine
