rubic-sdk
Version:
Simplify dApp creation
9 lines (8 loc) • 543 B
TypeScript
import { TxStatusData } from "../../../../../common/status-manager/models/tx-status-data";
import { OwlToPairInfo, OwlTopSwapRequest, OwlToSwapResponse } from '../models/owl-to-api-types';
export declare class OwlToApiService {
private static apiUrl;
static getPairInfo(srcChainId: number, srcTokenAddress: string, dstChainId: number, dstTokenAddress: string): Promise<OwlToPairInfo>;
static getSwapInfo(p: OwlTopSwapRequest): Promise<OwlToSwapResponse['data']>;
static getTxStatus(srcTxHash: string): Promise<TxStatusData>;
}