creditbook

Sell ledger

Sells a loan ledger from one strategy into another strategy, using the expected sale price guard provided in the request.

post/markets/creditbook/sell

Headers

Idempotent-Keystring nullable

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

Request body

loanstring required
newStrategystring required
oldStrategystring required

Response

Serialized transaction for selling the targeted ledger.

messagestring required

serialized message

Changes