UNPKG

rubic-sdk-next

Version:
14 lines (13 loc) 637 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 ApiOnChainConstructor<T extends BlockchainName> { from: PriceTokenAmount<T>; to: PriceTokenAmount<T>; feeInfo: FeeInfo; apiQuote: QuoteRequestInterface; apiResponse: QuoteResponseInterface; routePath: RubicStep[]; useProxy: boolean; }