UNPKG

@thenafi/v1-sdk

Version:

🛠 An SDK for building applications on top of THENA V1

13 lines (12 loc) • 454 B
import { Currency, Price, Token } from 'thena-sdk-core'; import { Pair } from './pair'; 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; }