Address of the user withdrawing collateral
Amount to withdraw (in mists, use MAX_U64 constant to withdraw all)
Market ID from which to withdraw
Object ID of the position capability object
Slippage for the swap (e.g., 0.01 for 1%)
Withdraw coin type (e.g., "0x2::sui::SUI")
Withdraw coin type (e.g., "0x2::sui::SUI")
OptionaltxOptional existing transaction to build upon
Parameters for swap-and-repay operation Used with the
swapAndRepaymethod to swap input tokens and repay debt in a single transaction