UNPKG

@array.inc/sdk

Version:

🛠 An SDK for building applications on top of Array.

15 lines (14 loc) • 504 B
import { Currency } from './Currency'; import { Pair } from './Pair'; import { Price } from './Price'; import { Token } from './Token'; export declare class Route<TInput extends Currency, TOutput extends Currency> { readonly pairs: Pair[]; readonly path: Token[]; readonly input: TInput; readonly output: TOutput; constructor(pairs: Pair[], input: TInput, output: TOutput); private _midPrice; get midPrice(): Price<TInput, TOutput>; get chainId(): number; }