How Do I Generate a Testnet SegWit Receive Address?
Short answer
Use net=test and type=segwit for a Testnet SegWit address. The returned address is for testing, not receiving mainnet BTC.
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.
curl -sS "$BASE_URL/healthz" | jq .
How it works
The command reads .result.address into ADDR_TEST. Check that the response is successful before using it. Do not send real BTC to a Testnet address.
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.
