📄️ Concepts Overview
Overview of the key concepts underlying TrexWallet, including transaction logic, atomicity, networks, fees, and error handling.
📄️ Transactions
Observable transaction behavior for balances, orders, fees, and lifecycle states.
📄️ Networks
A network in TrexWallet is any environment where assets can be transferred, stored, or exchanged. Networks can be public blockchains (like Ethereum or Bitcoin), private blockchains, or internal system networks used for off-chain operations and internal accounting.
📄️ Transaction States
Public transaction state model for TrexWallet APIs and payment flows.
📄️ Sub-Balances
Sub-balances partition a user's funds into free, locked, and reserved portions — enabling safe concurrent operations and preventing double spending.
📄️ Fees
How TrexWallet calculates fees for transactions — three fee components, tariff-based configuration, and the fee preview API.
📄️ Batch Operations
Why TrexWallet treats grouped transactions as one unit and how this relates to atomicity.
📄️ Atomicity
Atomicity in TrexWallet ensures that every financial operation is completed fully or not at all. This principle is fundamental for maintaining data integrity and user trust.
📄️ Address Transactions
Address transactions in TrexWallet are operations involving external or internal addresses, such as deposits, withdrawals, and transfers between wallets.
📄️ Order Operations
What an order is in TrexWallet and how it relates to transactions and balances.
📄️ System Wallets
System wallets are internal wallets (account collections) that are used for some operations in order to adhere to accounting principle of double entry.
📄️ Error Handling
Why TrexWallet errors are surfaced through ApiResponse and how they interact with state, atomicity, and batches.