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

Understanding Inclusive Bitcoin Wallet SEND Fees in Satoshis

permalink THAMER
#bitcoin-wallet-fees#inclusive-fee#satoshis#testnet

A wallet can define an inclusive software fee policy where the sender's requested total already includes the software and miner-fee budget. This is application-specific wallet policy, not a Bitcoin consensus fee rule.

Observed Testnet example

A successful send requested 20,000 sats total and returned recipient_sat: 18000. Under the tested wallet's signed 10% inclusive law, the recipient received 90% of the requested total. The remaining 2,000 sats formed the budget for miner fee and software treasury allocation according to the engine's law.

The agent did not need to subtract 10% itself. It forwarded the user's requested total and displayed the original engine result. Applying the deduction twice would be incorrect.

What the fields mean

requested_sat is the total specified by the sender. recipient_sat is what the destination receives. change_sat is the wallet change output and is not the recipient payment. txid identifies the broadcast transaction when the engine reports success.

Why a small amount may fail

The same experiment observed AMOUNT_TOO_SMALL for 9,500, 10,000, and 11,000-sat attempts. That error came from the engine, but the logs alone do not identify the exact internal rejection condition. Do not assume that sufficient aggregate balance guarantees every small transaction is executable.

Developer checklist

Label sender total and recipient amount separately. Do not silently rewrite the requested total. Preserve the original nested engine error when a send fails. Never present an application-specific 10% fee as a universal Bitcoin network rule.

Related reading

  • /ask/why-did-20000-sats-send-deliver-18000/
  • /ask/why-does-bitcoin-engine-return-amount-too-small/

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