UNPKG

@zentraswap/router-sdk

Version:

An sdk for routing swaps using Zentra X v2 and Zentra X v3.

10 lines (9 loc) 415 B
import { Currency } from '@zentraswap/sdk-core'; import { MixedRouteSDK } from '../entities/mixedRoute/route'; /** * Converts a route to a hex encoded path * @notice only supports exactIn route encodings * @param route the mixed path to convert to an encoded path * @returns the exactIn encoded path */ export declare function encodeMixedRouteToPath(route: MixedRouteSDK<Currency, Currency>): string;