@reown/appkit-ui
Version:
#### 🔗 [Website](https://reown.com/appkit)
13 lines (12 loc) • 853 B
TypeScript
import type { Transaction, TransactionImage, TransactionTransfer } from '@reown/appkit-common';
export declare const TransactionUtil: {
getTransactionGroupTitle(year: number, month: number): string | undefined;
getTransactionImages(transfers: TransactionTransfer[]): TransactionImage[];
getTransactionImage(transfer?: TransactionTransfer): TransactionImage;
getTransactionImageURL(transfer: TransactionTransfer | undefined): string | undefined;
getTransactionTransferTokenType(transfer?: TransactionTransfer): "FUNGIBLE" | "NFT" | undefined;
getTransactionDescriptions(transaction: Transaction): string[];
getTransferDescription(transfer?: TransactionTransfer): string;
getFungibleTransferDescription(transfer?: TransactionTransfer): string | null;
getQuantityFixedValue(value: string | undefined): string | null;
};