cURL
curl --request POST \ --url https://kamino.dial.to/api/v0/multiply/{marketAddress}/withdraw \ --header 'Content-Type: application/json' \ --data ' { "type": "transaction", "account": "6JpNV6DK88auwzKVizdeT4Bw3D44sam5GqjcPCJ7y176" } '
{ "type": "<unknown>", "transaction": "<string>" }
Generate a transaction for withdrawing from multiply position.
Market public key
Collateral token mint address
Debt token mint address
The percentage of position to withdraw
1 <= x <= 100
Slippage tolerance in percentage (0.1-10%)
0.1 <= x <= 10
transaction
"transaction"
The public key of the account that executes the transaction
"6JpNV6DK88auwzKVizdeT4Bw3D44sam5GqjcPCJ7y176"
OK
Was this page helpful?