Path Parameters
Market public key
Examples:
"6WEGfej9B9wjxRs6t4BYpb9iCXd8CpTpJ8fVSNzHCC5y"
Query Parameters
Collateral token mint address
Examples:
"AvZZF1YaZDziPY2RCK4oJrRVrbN3mTD9NL24hPeaZeUj"
Debt token mint address
Examples:
"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"
The percentage of position to withdraw
Required range:
1 <= x <= 100Examples:
10
Slippage tolerance in percentage (0.1-10%)
Required range:
0.1 <= x <= 10Examples:
3
Body
application/json
Response
200 - application/json
OK
Examples:
"AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEDArczbMia1tLmq7zz4DinMNN0pJ1JtLdqIJPUw931mdvp9vlLgQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAI8FZAz9nIL9hGE4x5rKjjAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAICAgAB"