Skip to main content
POST
Get instructions to deposit into a kvault

Body

application/json
wallet
string<solana-base58-address>
required

User wallet address (base58) that will also sign the transaction

Required string length: 32 - 44
Example:

"KUMtRazMP7vwvc2kthnGZ9Cq6ZsGRiYC97snMYepNx9"

kvault
string<solana-base58-address>
required

Target Kamino vault address

Required string length: 32 - 44
Example:

"HDsayqAsDWy3QvANGqh2yNraqcD8Fnjgh73Mhb3WRS5E"

amount
string<decimal-positive-amount>
required

Amount to deposit (in decimal format, not lamports)

Example:

"0.1234"

useStagingProgram
boolean

Optional. If omitted, the value is false. Set it to true to target a vault owned by the staging kvault program instead of the mainnet program.

Example:

true

memo
string<memo>

The memo is optional. If provided, it must be non-empty and at most 64 UTF-8 bytes. The API includes it in the deposit transaction.

Required string length: 1 - 64
skipFarm
boolean

Optional. If omitted, the value is false. Set it to true to skip staking the received vault shares in the vault farm, so the depositor keeps the shares in their wallet.

Example:

true

Response

Default Response

instructions
object[]
required
lutsByAddress
object
required
Example: