v1

latestOpenAPI 3.1.02026-07-2639148131.7 KB
strategy

Withdraw from strategy

Withdraws principal from an existing lending strategy, optionally closing out the full position.

post/markets/strategy/withdraw

Headers

Idempotent-Keystring nullable

Optional idempotency key; a retried write with the same key replays the original response

Request body

amountinteger required
strategystring required
withdrawAllboolean required

Response

Serialized transaction for the strategy withdrawal.

messagestring required

serialized message