Generate a transaction for closing a leverage position.
Documentation Index
Fetch the complete documentation index at: https://docs.dialect.to/llms.txt
Use this file to discover all available pages before exploring further.
Market public key
Collateral token mint address
Debt token mint address
The side of the leverage to withdraw from
A, B The percentage of position to close
1 <= x <= 100Slippage tolerance in percentage (0.1-10%)
0.1 <= x <= 10