UNPKG

@openocean.finance/widget-sdk

Version:

OpenOcean Any-to-Any Cross-Chain-Swap SDK

11 lines 450 B
import type { OpenOceanStep, Route } from '@openocean.finance/widget-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: OpenOceanStep) => Route; //# sourceMappingURL=convertQuoteToRoute.d.ts.map