pub fn transaction_detail_to_info( transaction_detail: TransactionDetail, ) -> Result<TransactionInfo, WError>