THAMER
Sovereign Bitcoin Wallet

WALLET AI BITCOIN

Your Bitcoin Wallet. Your Keys. Your Engine.

Self-hosted Bitcoin software built for developers, applications, and AI agents.

CREATE WALLET

WAB Agent API Operations and Tool Boundaries

permalink THAMER
#ai-agents#api#bitcoin#testnet#wab

A tool adapter can expose HEALTH, RECEIVE, BALANCE and WATCH as distinct functions. SEND belongs to a separately authorized payment role. RECEIVE allocates an address and WATCH creates a record, so neither should be treated as a pure read or blindly retried after an ambiguous timeout.

curl -fsS -X POST https://api.wab.codes/api/v5/btc/wallet/balance \
  -H "X-BTC-KEY: $KEY" -H 'Content-Type: application/json' \
  -d '{"net":"test","type":"taproot"}' | jq .

Set KEY privately for a disposable wallet. Disable shell tracing and avoid storing raw output in public logs. Check HTTP status and JSON ok independently. A tool should validate network, address type and response structure, then return only the fields needed by the agent. Never infer spendable balance from a single unconfirmed observation. Test missing authorization, invalid network and timeout handling in a controlled environment; do not load-test the public lab without permission.

Laboratory: https://thamer.org/lab
API reference: https://thamer.org/api
Terms: https://thamer.org/tos

Questions & Answers

Explore all questions →

Latest from the Lab

THAMER illustrated developer portrait and signature

ABOUT THE DEVELOPER

Independent Software Developer specializing in Bitcoin Script, Golang, and AI Agents.

Software engineering · Independent research · Open-source projects