Transaction Management
The Transaction Management system in OADA-UI handles all aspects of Cardano blockchain transactions, including creation, signing, UTxO management, and fee calculation. This section details the core components and their implementations.
Core Types and Interfaces
The transaction management system is built on several key types and interfaces that define the structure of transactions and UTxOs.
The WalletUtxoMap
type defines the structure for tracking wallet UTxOs and their relationships:
The VirtualWalletUtxoMap
type defines the structure for tracking virtual UTxOs during transaction processing:
Key features of the Transaction Management system include:
UTxO Management
Tracking wallet UTxOs and their relationships
Managing virtual UTxOs for pending transactions
Pruning on-chain UTxOs from the wallet map
Transaction Creation
Converting between different transaction formats
Creating virtual UTxO maps for pending transactions
Handling transaction inputs and outputs
Transaction Monitoring
Tracking transaction status
Updating UTxO maps with known transaction IDs
Managing latest UTxO states
Fee Calculation
Dynamic fee calculation based on transaction size
Handling protocol-specific fees
Managing fee addresses
The system provides a comprehensive interface for managing Cardano blockchain transactions, with support for various transaction types and real-time UTxO tracking.
Last updated