astra-router-sdk
Version:
An sdk for routing swaps using Astra Classic and Astra CL.
10 lines (9 loc) • 409 B
TypeScript
import { Currency } from 'astra-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;