Generate a transaction for closing a leverage position.
Market public key
"7u3HeHxYDLhnCoErrtycNokbQYbWGzLs6JSDqGAv5PfF"
Collateral token mint address
"So11111111111111111111111111111111111111112"
Debt token mint address
"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"
The percentage of position to withdraw
1 <= x <= 100100
Slippage tolerance in percentage (0.1-10%)
0.1 <= x <= 103