KaminoBaseConfig
Defined in: protocol-lending-kamino-solana/src/base.ts:37
Extended by
Section titled “Extended by”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).
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>
optionalmemo?:string
Defined in: protocol-lending-kamino-solana/src/base.ts:49
SPL memo (≤ 64 bytes) the API adds to every transaction.
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).
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).
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.