UNPKG

ttxd-alpha

Version:

An SDK for building applications on top of V2,V3 and Solana exchanges

15 lines (14 loc) 395 B
import { ChainId, Token } from '@uniswap/sdk-core'; import { ethers } from 'ethers'; export interface SwapV2Params { chainId: ChainId; exchange: string; token1: Token; token2: Token; amount: string; provider: ethers.providers.JsonRpcProvider; signer: ethers.Wallet; gasLimit?: number; maxFeePerGas?: string; maxPriorityFeePerGas?: string; }