WalletTransactionEncoder(rustBackend: RustBackendWelding, repository: TransactionRepository)
Class responsible for encoding a transaction in a consistent way. This bridges the gap by behaving like a stateless API so that callers can request createTransaction and receive a result, even though there are intermediate database interactions.