UNPKG

rubic-sdk-next

Version:
14 lines (13 loc) 644 B
import { BlockchainName, QuoteRequestInterface, QuoteResponseInterface } from '@cryptorubic/core'; import { PriceTokenAmount } from '../../../common/tokens'; import { FeeInfo } from '../../cross-chain/calculation-manager/providers/common/models/fee-info'; import { RubicStep } from '../../cross-chain/calculation-manager/providers/common/models/rubicStep'; export interface ApiCrossChainConstructor<T extends BlockchainName> { from: PriceTokenAmount<T>; to: PriceTokenAmount; feeInfo: FeeInfo; apiQuote: QuoteRequestInterface; apiResponse: QuoteResponseInterface; routePath: RubicStep[]; needAuthWallet?: boolean; }