rubic-sdk-next
Version:
Simplify dApp creation
12 lines (11 loc) • 727 B
TypeScript
import { BlockchainName, QuoteRequestInterface, QuoteResponseInterface } from '@cryptorubic/core';
import { PriceTokenAmount } from '../../../common/tokens';
import { ApiCrossChainConstructor } from '../models/api-cross-chain-constructor';
export declare class RubicApiUtils {
static getTradeParams(quote: QuoteRequestInterface, response: QuoteResponseInterface, providerType: string): Promise<ApiCrossChainConstructor<BlockchainName>>;
private static getEmptyTradeParams;
private static getFullTradeParams;
private static getFromToTokens;
private static parseTokenAddress;
static getEmptyResponse(fromToken: PriceTokenAmount, toToken: PriceTokenAmount, providerType: string): QuoteResponseInterface;
}