@xswap-link/sdk
Version:
JavaScript SDK for XSwap platform
24 lines (22 loc) • 580 B
text/typescript
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[];
};