Why does WAB Engine use integer satoshis rather than decimal BTC?
Short answer
The engine’s developer-facing amount convention uses whole satoshis. For example, 25,000 sat is represented as the integer 25000, not the decimal BTC value 0.00025000. This simplifies arithmetic and avoids floating-point ambiguity in payment software.
Practical guidance
Bitcoin Core RPC methods may use different amount representations. Convert explicitly at an integration boundary and never assume an unlabelled number is denominated in satoshis.
Related reading
Bitcoin Core RPC command reference
https://bitcoincore.org/en/doc/
