v1

latestOpenAPI 3.1.02026-07-2639148131.7 KB
lending_vaults

Vault deposit

Deposit funds into a target lending Vault. On an additional deposit, the previous stake account and reward schedule is deleted and a new one is created.

post/markets/lending_vaults/deposit

Headers

Idempotent-Keystring nullable

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

Request body

depositOnlyboolean
minLpAmountinteger required
principalAmountinteger required
vaultstring required

Response

Serialized transaction and update stake account

stakeAccountstring required