UNPKG

@multiversx/sdk-dapp-swap

Version:

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

11 lines 393 B
import { SwapRouteType } from 'types'; export declare const useRateCalculator: ({ activeRoute }: { activeRoute?: SwapRouteType | undefined; }) => { tokenInId: string | undefined; tokenInIdPriceUsd: string | undefined; tokenOutId: string | undefined; exchangeRate: string | undefined; switchTokensDirection: () => void; }; //# sourceMappingURL=useRateCalculator.d.ts.map