The 90% Recipient Output Is Not a Bitcoin Network Fee
The 90% Recipient Output Is Not a Bitcoin Network Fee
Separate software usage law from miner fee and change. This is part two of the WAB ENGINE and AI Agents programming series, grounded in the V3.4 Testnet experiments.
What the experiment actually showed
For the observed wallet, requested_sat 10000 and recipient_sat 9000 reflect its signed inclusive software fee policy. The 1000-sat difference is a budget that may include miner fee and treasury allocation; the JSON shown does not expose the split.
Engineering method
Explain only fields actually returned. Do not infer a specific miner fee or treasury amount from the observed result.
A repeatable local exercise
Repo/receipt.go renders only supported values.
Use a recorded JSON response or a mock HTTP server. Run local unit tests, compare actual values with expected values, and inspect error paths. An AI response must not be used as evidence of a wallet transaction or its confirmation.
What can go wrong
Change_sat is a return output, not the fee. Three outputs alone do not reveal the precise economic split.
Practical review questions
- Which facts came directly from WAB ENGINE, and which are generated prose?
- Can the experiment be repeated without broadcasting another transaction?
- What observation would falsify the diagnosis?
- Which error states are visible to the caller rather than hidden by a fallback?
Implementation boundary
WAB ENGINE remains the authoritative execution layer. The experimental agent is a separate client. Examples are intentionally scoped to Testnet and do not modify the Engine, Bitcoin Core, the signed fee law, or deployed wallet state.
Project references
- WAB ENGINE API: https://thamer.org/api
- WAB ENGINE overview: https://thamer.org/engine
- Educational code repository: https://thamer.org/repo/
Scope: experimental Testnet programming notes and preliminary SDK-style examples, not production-ready wallet software.
