v1
latestOpenAPI 3.1.02026-07-2639148131.7 KBcreditbook
Flash borrow
Atomically creates a new loan and executes optional CPIs before depositing collateral. Supports deferred collateralization. Returns a transaction message and resulting loan address.
post/markets/creditbook/flash_borrow
Headers
Idempotent-Keystring nullable
Optional idempotency key; a retried write with the same key replays the original response
Request body
Response
Serialized transaction and resulting loan address