@plasma-fi/sdk
Version:
🛠An SDK for building dapp on PlasmaSwap.
14 lines (13 loc) • 456 B
TypeScript
import { Price } from '../amounts/price';
import { ChainId } from '../constants/constants';
import { Currency, Token } from './currency';
import { Pair } from './pair';
export declare class Route {
readonly pairs: Pair[];
readonly path: Token[];
readonly input: Currency;
readonly output: Currency;
readonly midPrice: Price;
constructor(pairs: Pair[], input: Currency, output?: Currency);
get chainId(): ChainId;
}