KaminoVaultConfig
Defined in: protocol-lending-kamino-solana/src/vault.ts:11
Extends
Section titled “Extends”Properties
Section titled “Properties”
optionalapi?:string|KaminoApi
Defined in: protocol-lending-kamino-solana/src/base.ts:39
API endpoint or a prepared client (default api.kamino.finance).
Inherited from
Section titled “Inherited from”asset?
Section titled “asset?”
optionalasset?:string
Defined in: protocol-lending-kamino-solana/src/vault.ts:25
The mint the vault takes and pays out. The API’s answer must name it; supply needs it here or
as its token, so a changed API answer cannot make the wallet deposit another asset.
fetch?
Section titled “fetch?”
optionalfetch?: {(input,init?):Promise<Response>; (input,init?):Promise<Response>; }
Defined in: protocol-lending-kamino-solana/src/base.ts:41
fetch implementation for the API (default global fetch).
Call Signature
Section titled “Call Signature”(
input,init?):Promise<Response>
Parameters
Section titled “Parameters”URL | RequestInfo
RequestInit
Returns
Section titled “Returns”Promise<Response>
Call Signature
Section titled “Call Signature”(
input,init?):Promise<Response>
Parameters
Section titled “Parameters”string | URL | Request
RequestInit
Returns
Section titled “Returns”Promise<Response>
Inherited from
Section titled “Inherited from”
optionalmemo?:string
Defined in: protocol-lending-kamino-solana/src/base.ts:49
SPL memo (≤ 64 bytes) the API adds to every transaction.
Inherited from
Section titled “Inherited from”rentAllowanceLamports?
Section titled “rentAllowanceLamports?”
optionalrentAllowanceLamports?:number|bigint
Defined in: protocol-lending-kamino-solana/src/base.ts:47
SOL the transaction may spend on rent and fees beyond the amount (default 0.01 SOL).
Inherited from
Section titled “Inherited from”KaminoBaseConfig.rentAllowanceLamports
skipFarm?
Section titled “skipFarm?”
optionalskipFarm?:boolean
Defined in: protocol-lending-kamino-solana/src/vault.ts:20
Keep the shares in the wallet (default true). The guard then proves the shares arrive. With
false they are staked in the vault farm, as the Kamino app does: they never reach the wallet,
so the guard can only bound what leaves it; the instruction rules pin the stake to this vault’s
farm (from the chain) and the wallet’s own farm state.
slippageBps?
Section titled “slippageBps?”
optionalslippageBps?:number
Defined in: protocol-lending-kamino-solana/src/base.ts:45
Tolerance on what the wallet must receive on withdrawals / borrows, in basis points (default 50).
Inherited from
Section titled “Inherited from”timeoutMs?
Section titled “timeoutMs?”
optionaltimeoutMs?:number
Defined in: protocol-lending-kamino-solana/src/base.ts:43
Per-call timeout for the API, in ms (default 15 000). Ignored when api is a prepared client.
Inherited from
Section titled “Inherited from”vault:
string
Defined in: protocol-lending-kamino-solana/src/vault.ts:13
The Earn vault (kVault) address.