rainbow-swap-sdk
Version:
SDK for building applications on top of Rainbow.ag - Swap Aggregator on TON 💎.
18 lines (17 loc) • 1.12 kB
TypeScript
import { SwapHistoryData } from '../interfaces/swap-history-data.interface';
import { AppStatus } from '../types/app-status.type';
import { Asset } from '../types/asset.type';
import { AssetsListParams } from '../types/assets-list-patams.type';
import { AssetsRecord } from '../types/assets-record.type';
import { BestRouteParams } from '../types/best-route-params.type';
import { BestRouteResponse } from '../types/best-route-response.type';
import { SwapHistoryDataParams } from '../types/swap-history-data.type';
export declare const getAppStatus: () => Promise<AppStatus>;
/**
* @deprecated This method is deprecated and will be removed in the next major release.
* Please use `getAssetsList` instead for improved performance and features.
*/
export declare const getAssetsRecord: () => Promise<AssetsRecord>;
export declare const getAssetsList: (params: AssetsListParams) => Promise<Asset[]>;
export declare const getBestRoute: (params: BestRouteParams, authTokens?: string) => Promise<BestRouteResponse>;
export declare const getSwapHistoryData: (params: SwapHistoryDataParams) => Promise<SwapHistoryData>;