@iguanadex/v3-sdk
Version:
⚒️ An SDK for building applications on top of IguanaDEX V3
10 lines • 485 B
TypeScript
import { Currency } from '@iguanadex/swap-sdk-core';
import { Hash } from 'viem';
import { Route } from '../entities/route';
/**
* Converts a route to a hex encoded path
* @param route the v3 path to convert to an encoded path
* @param exactOutput whether the route should be encoded in reverse, for making exact output swaps
*/
export declare function encodeRouteToPath(route: Route<Currency, Currency>, exactOutput: boolean): Hash;
//# sourceMappingURL=encodeRouteToPath.d.ts.map