How Does WAB RECEIVE Generate Testnet SegWit Addresses?
Observed request
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 .
Observed results
The first successful response returned tb1qvydflx7ahrjdztx0p2t8lhmzvhq6fzlcfpu7s8, index: 0, btc_id: BTC-cH8yqlw0sc9ucRDTgurC, identity_version: 3, and coin: btc. The second returned tb1qh7725m960c79vskyhr4vldrv0m329svxjjvxlm with index: 1. Both returned ok: true.
Interpretation
Two sequential calls returned distinct addresses and increasing indices for this test. The record does not establish unlimited address discovery or any guarantee about future calls. Source: test2.txt, lines 2–43.
