/** * On-chain and internal money movement records. * Maps to the `transactions` table (deposits, withdrawals, and transfers). */ /** Row shape for the `transactions` table. */ export interface Transaction { id: string; user_id: string; wallet_type_id: number; type: 'deposit' | 'withdrawal' | 'transfer'; amount: string; fee: string; status: 'pending' | 'processing' | 'completed' | 'failed' | 'rejected' | 'cancelled' | 'failed_refunded' | 'pending_approval' | 'broadcasting' | 'confirming' | 'ledger_finalize_failed'; blockchain_tx_id: string | null; from_address: string | null; to_address: string | null; confirmations: number | null; required_confirmations: number | null; metadata: Record | null; created_at: Date; updated_at: Date; } //# sourceMappingURL=transaction.model.d.ts.map