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