@orca-so/whirlpools-sdk
Version:
Typescript SDK to interact with Orca's Whirlpool program.
9 lines (8 loc) • 429 B
TypeScript
import type { TwoHopSwapInput } from "../../instructions";
import type { SwapEstimates, SwapQuote } from "./swap-quote";
export type TwoHopSwapQuote = NormalTwoHopSwapQuote;
export type NormalTwoHopSwapQuote = {
swapOneEstimates: SwapEstimates;
swapTwoEstimates: SwapEstimates;
} & TwoHopSwapInput;
export declare function twoHopSwapQuoteFromSwapQuotes(swapQuoteOne: SwapQuote, swapQuoteTwo: SwapQuote): TwoHopSwapQuote;