UNPKG

@multiversx/sdk-dapp-swap

Version:

A library to hold the main logic for swapping between tokens on the MultiversX blockchain

12 lines 515 B
import { SwapRouteType, UserEsdtType } from 'types'; export declare const getCorrectAmountsOnTokenChange: ({ newToken, firstToken, secondToken, activeRoute, needsParsing }: { needsParsing: boolean; newToken?: UserEsdtType | undefined; firstToken?: UserEsdtType | undefined; secondToken?: UserEsdtType | undefined; activeRoute?: SwapRouteType | undefined; }) => { amountIn: string | undefined; amountOut: string | undefined; }; //# sourceMappingURL=getCorrectAmountsOnTokenChange.d.ts.map