Skip to main content
POST
Simple repay loan

Headers

Idempotent-Key
string | null

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

Body

application/json
loan
string
required

Loan account address (base58).

repayParams
object
required

On-chain repay params.

strategy
string
required

Strategy account address (base58).

isLoop
boolean | null
weightMatrixUpdates
object[]

Response

Serialized transactions and expected post-repayment loan state.

expectedLoanInfo
object
required

Projected loan state after the transactions land.

transactions
object[]
required

Built, ready-to-sign versioned transactions.