SwapAndCreateDealWithETHParams
The SwapAndCreateDealWithETHParams interface defines the parameters required to swap ETH to MEDIA and create a deal.
Properties
-
marketplaceId:bigint | number | stringThe ID of the marketplace. -
resourceId:bigint | number | stringThe ID of the resource. -
offerId:bigint | number | stringThe ID of the offer. -
sharedKeyCopy:stringA copy of the shared key for accessing the deal. -
minMediaAmountOut:bigint | number | stringThe minimum media amount expected out of the swap. -
amount:bigintThe amount of WETH to use. -
poolFee:FeeAmount(optional) The fee amount for the Uniswap pair.