Transaction Management
Core Types and Interfaces
// src/utils/wallet-stuff.ts
// Maps wallet UTxOs to their corresponding transaction outputs
// Maintains three key mappings:
// 1. outputUtxosRefByWalletUtxoId: Maps wallet inputs to transaction outputs
// 2. outputUtxosByOutputUtxosRef: Maps output references to UTxO details
// 3. walletUtxoIdsByOutputUtxosRef: Maps outputs back to wallet inputs
export type WalletUtxoMap = {
outputUtxosRefByWalletUtxoId: {
[walletUtxoId: string]: string;
};
outputUtxosByOutputUtxosRef: {
[outputUtxosRef: string]: Server.Utxo[];
};
walletUtxoIdsByOutputUtxosRef: {
[outputUtxosRef: string]: Set<string>;
};
};Key features of the Transaction Management system include:
Last updated