@lifi/sdk
Version:
LI.FI Any-to-Any Cross-Chain-Swap SDK
11 lines • 420 B
TypeScript
import type { LiFiStep, Route } from '@lifi/types';
/**
* Converts a quote to Route
* @param quote - Step returned from the quote endpoint.
* @param txHash
* @param chainId
* @returns - The route to be executed.
* @throws {BaseError} Throws a ValidationError if the step has missing values.
*/
export declare const convertQuoteToRoute: (quote: LiFiStep) => Route;
//# sourceMappingURL=convertQuoteToRoute.d.ts.map