KaminoMarketConfig
Defined in: protocol-lending-kamino-solana/src/market.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”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”firstDepositAllowanceLamports?
Section titled “firstDepositAllowanceLamports?”
optionalfirstDepositAllowanceLamports?:number|bigint
Defined in: protocol-lending-kamino-solana/src/market.ts:21
SOL a FIRST deposit may spend on the obligation, user metadata, lookup table and ATAs (default 0.045 SOL).
market?
Section titled “market?”
optionalmarket?:string
Defined in: protocol-lending-kamino-solana/src/market.ts:13
The lending market (default: Kamino’s Main Market).
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
reserves?
Section titled “reserves?”
optionalreserves?:Record<string,string>
Defined in: protocol-lending-kamino-solana/src/market.ts:19
Pin the reserve a token maps to. Without it the reserve with the most supplied value for that mint is used (the Main Market has several USDC reserves: the big one and small isolated ones).
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.