@sofaws/dapp-core
Version:
A library to hold the main logic for a dapp on the Elrond Network
17 lines • 689 B
TypeScript
import { TokenArgumentType } from 'types/serverTransactions.types';
export interface TransactionActionNftType {
token: TokenArgumentType;
noValue?: boolean;
showLastNonZeroDecimal?: boolean;
}
export interface TransactionActionNftReturnType {
badgeText: string | null;
tokenFormattedAmount: string | null;
tokenExplorerLink: string;
tokenLinkText: string;
token: TokenArgumentType;
showLastNonZeroDecimal?: boolean;
noValue?: boolean;
}
export declare function getTransactionActionNftText({ token, noValue, showLastNonZeroDecimal }: TransactionActionNftType): TransactionActionNftReturnType;
//# sourceMappingURL=getTransactionActionNftText.d.ts.map