v1

latestOpenAPI 3.1.02026-07-2639148131.7 KB
strategy

Create strategy

Creates a new lending strategy, deposits the initial principal amount, and may return multiple transactions when lookup-table setup or external yield account initialization is required.

post/markets/strategy/create

Headers

Idempotent-Keystring nullable

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

Request body

amountinteger required
interestFeeinteger
lenderstring required
liquidityBufferinteger
marketInformationstring nullable
originationCapinteger
originationFeeinteger
originationsEnabledboolean
principalMintstring required

Response

One or more serialized transactions needed to create and fund the strategy.

messagestring required

serialized message