Atomicity
All balance updates and order changes inside a single TrexWallet operation (including batch operations and order matching) are applied within one DB transaction. On failure everything is rolled back — partial settlement is never possible.
→ Atomicity concept for the full description.
→ Batch Operations for the multi-entry API contract.