SwapAndCreateDealsParams
The SwapAndCreateDealsParams interface defines the parameters required to swap an ERC20 token to MEDIA and create multiple deals.
Properties
-
marketplaceId:bigint | number | stringThe ID of the marketplace. -
inputToken:AddressThe address of the input token. -
inputAmount:bigint | number | stringThe amount of the input token. -
resourceId:bigint | number | stringThe ID of the resource. -
offerIds:bigint[] | number[] | string[]An array of offer IDs. -
sharedKeyCopies:string[]An array of copies of the shared key for accessing the resource. -
minMediaAmountOut:bigint | number | stringThe minimum media amount expected out of the swap. -
path:stringThe preferred Uniswap path.