@multiversx/sdk-dapp-swap
Version:
A library to hold the main logic for swapping between tokens on the MultiversX blockchain
11 lines • 344 B
TypeScript
import { EsdtType, PairType, SwapRouteType } from 'types';
export interface TokenRouteType {
amountIn: string;
pairs: PairType[];
amountOut: string;
tokens: EsdtType[];
}
export declare const getTokenRoutes: ({ activeRoute }: {
activeRoute: SwapRouteType;
}) => TokenRouteType[];
//# sourceMappingURL=getTokenRoutes.d.ts.map