creditbook

Build loan

Builds or mutates a loan through a sequence of high-level actions. Supported step types currently include repay, flashBorrow, and swapCollateral.

post/markets/creditbook/build

Headers

Idempotent-Keystring nullable

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

Request body

loanstring nullable

Response

Derived loan address and the transaction sequence produced by the requested build steps.

loanstring required

Changes