Skip to main content
Transactions are where financial value moves. This section covers everything from how balances work to the mechanics of transaction processing, event publishing, and operation tracking.

Content


Here, you’ll find:
  • Balances: The value held by a specific account. Balances reflect the result of all operations over time and support multiple balance keys for advanced fund segmentation — like separating operational, collateral, and credit funds within a single account.
  • Transactions: Complete financial events powered by Midaz’s double-entry accounting system. Every transaction involves debits and credits that must balance before being committed.
  • Transaction amount: How Midaz stores and handles financial values using precise decimal representation, ensuring accuracy across all asset types — from fiat currencies to high-precision crypto tokens.
  • Event publisher: Real-time event publishing for transactional updates. When enabled, every processed transaction emits an event to a dedicated RabbitMQ exchange, allowing external applications to consume them without creating tight dependencies.
  • Transactions DSL: A Domain-Specific Language called gold for structuring financial transactions in readable .gold files. (Deprecated)
  • Operations: The smallest unit of financial activity — a single ledger entry, either a debit or a credit on a specific account. Operations are the building blocks of every transaction.