Skip to main content
POST
Borrow principal

Headers

User-Wallet
string | null

Base58 wallet used as the fee payer when payer is omitted

payer
string | null

Base58 wallet that pays transaction fees; defaults to the User-Wallet wallet when omitted

Transaction-Settings
string | null

Optional JSON-encoded transaction settings (priority-fee percentile, compute limits, simulation mode)

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.