UNPKG

@xswap-link/sdk

Version:
27 lines (25 loc) 712 B
import { CoinTypeAddress, CollectFees, ContractCall } from "@src/models"; export type GetRoutePayload = { integratorId: string; fromChain: string; toChain: string; fromToken: string; toToken: string; fromAmount: string; fromAddress: string; toAddress: string; paymentToken: string; slippage: number; expressDelivery: boolean; quoteOnly?: boolean; enableExpress?: boolean; customContractCalls?: ContractCall[]; sourceChainDexes?: string[]; destinationChainDexes?: string[]; receiveGasOnDestination?: boolean; collectFees?: CollectFees; fallbackAddresses?: CoinTypeAddress[]; infiniteApproval: boolean; integratorFee?: number; integratorFeeReceiverAddress?: string; };