Skip to content
docs

SplStakePoolProtocolConfig

Defined in: index.d.ts:201

optional apr?: () => Promise<number>

Defined in: index.d.ts:212

Provider APY in percent (Jito stats, …); without it getApr estimates from the last two epochs.

Promise<number>


optional commitment?: "processed" | "confirmed" | "finalized"

Defined in: index.d.ts:206


optional computeUnitLimit?: number

Defined in: index.d.ts:208


optional computeUnitPrice?: number | bigint

Defined in: index.d.ts:209


optional pool?: string | StakePoolConfig

Defined in: index.d.ts:203

A key of SPL_STAKE_POOL_ADDRESS_MAP (“jito” by default) or an explicit pool.


optional provider?: string | object | string[] | RpcRequester | (string | object | RpcRequester)[]

Defined in: index.d.ts:205

JSON-RPC URL(s), a @solana/rpc client, or a {request} object; default the account’s own RPC.


optional slippageBps?: number

Defined in: index.d.ts:207


optional unstakeSlots?: number

Defined in: index.d.ts:210