UNPKG

@pollum-io/router-sdk

Version:

An sdk for routing swaps using Pegasys v1 and Pegasys v3.

10 lines (9 loc) 414 B
import { Currency } from '@pollum-io/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;