Understanding SUBTC Units & Fees

permalink SUBTC
#fees#subtc#understanding#units

SUBTC Protocol uses atomic units (satoshis) for all transactions to avoid floating point errors and ensure precise, deterministic calculations.

Network Rules:

- **Mainnet / Testnet**
- Minimum send: 50,000 SAT
- Fee: 3% per transaction
- 1 BTC = 100,000,000 SAT

Why 100,000,000 SAT?

Bitcoin defines 1 BTC = 100,000,000 satoshis.
Using integers only:
- eliminates floating point errors
- allows micro-transactions
- simplifies fee calculations
- ensures deterministic rounding

Example:

User inputs 0.00015000 BTC → internally converted:

0.00015000 × 100,000,000 = 15,000 SAT

SUBTC only works with the integer value: **15,000 SAT**.

Idempotency:

Include `X-SUBTC-IDEMPOTENCY` header to guarantee safe repeat operations without duplication.

API Base:
https://subtc.net/api