Address of fromToken
, the token you wish to zap with.
ChainId of the to_token
.
See https://chainlist.org/.
Address of the to token.
Optional
amount?: stringAmount of the fromToken
to spend on the user's behalf.
Optional
user?: Web3AddressAddress of user placing the order. Required to receive a valid unsigned tx.
Optional
slippageThe maximum acceptable slippage of the to_token
amount.
A number between 0
and 1
.
E.g.: 0.01
for 1% slippage tolerance.
0.01
Optional
recipient?: Web3AddressAddress of where the zapped funds should be sent after the order executes.
Optional
varsOptional
partner?: Web3AddressAddress of partner referring the user.
Optional
lowerFor Uniswap V3 zaps.
Optional
upperFor Uniswap V3 zaps.
Optional
tokenERC-721 tokenId.
Optional
gaslessGas-less type of transaction
Optional
providers?: Providers[]Specific swap providers
Generated using TypeDoc
ChainId of
fromToken
. See https://chainlist.org/.