fn format_transaction( index: usize, tx: &TransactionWithMetadata, ) -> Result<String, Error>
Format transaction details for display