Skip to main content
POST
Borrow principal

Headers

Idempotent-Key
string | null

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

Body

application/json
borrowParams
object
required

On-chain borrow params.

loan
string
required

Loan account address (base58).

strategy
string
required

Strategy account address (base58).

isLoop
boolean | null
refinanceParams
null | object

Optional on-chain refinance params.

weightMatrixUpdates
object[]

Response

Serialized transaction for borrowing additional principal.

expectedLoanInfo
object
required

Projected loan state after the transactions land.

transactions
object[]
required

Built, ready-to-sign versioned transactions.