UNPKG

@xswap-link/sdk

Version:
24 lines (22 loc) 580 B
import { ContractCall } from "@src/models"; export type GetRoutePayload = { fromChain: string; toChain: string; fromToken: string; toToken: string; fromAmount: string; fromAddress: string; toAddress: string; paymentToken: string; integratorId: string; slippage: number; expressDelivery: boolean; infiniteApproval?: boolean; customContractCalls?: ContractCall[]; sourceChainDexes?: string[]; destinationChainDexes?: string[]; integratorFee?: number; integratorFeeReceiverAddress?: string; gasLimit?: number; swapRouteProviders?: string[]; };