Skip to content
docs

KaminoBaseConfig

Defined in: protocol-lending-kamino-solana/src/base.ts:37

optional api?: string | KaminoApi

Defined in: protocol-lending-kamino-solana/src/base.ts:39

API endpoint or a prepared client (default api.kamino.finance).


optional fetch?: {(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).

(input, init?): Promise<Response>

MDN Reference

URL | RequestInfo

RequestInit

Promise<Response>

(input, init?): Promise<Response>

MDN Reference

string | URL | Request

RequestInit

Promise<Response>


optional memo?: string

Defined in: protocol-lending-kamino-solana/src/base.ts:49

SPL memo (≤ 64 bytes) the API adds to every transaction.


optional rentAllowanceLamports?: 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).


optional slippageBps?: 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).


optional timeoutMs?: 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.