UNPKG

@orca-so/whirlpools-sdk

Version:

Typescript SDK to interact with Orca's Whirlpool program.

8 lines (7 loc) 431 B
import type { Address } from "@coral-xyz/anchor"; import type { WhirlpoolAccountFetcherInterface } from "../../../network/public/fetcher"; import type { PoolGraph, PoolTokenPair } from "./pool-graph"; export declare class PoolGraphBuilder { static buildPoolGraphWithFetch(pools: Address[], fetcher: WhirlpoolAccountFetcherInterface): Promise<PoolGraph>; static buildPoolGraph(poolTokenPairs: PoolTokenPair[]): PoolGraph; }