Documentation Index
Fetch the complete documentation index at: https://kamino.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Scope is Kamino’s oracle aggregation framework for on-chain pricing. The Scope Typescript SDK and REST endpoints provide direct access to price data, feed configuration, and refresh instructions. In leverage and flash-loan flows, price refreshes are commonly included before execution so reserves and strategies read the latest market data.A Scope feed is a fixed-size account: each
OraclePrices account holds 512 slots, and a token’s USD price is resolved through a “scope chain” of up to 4 slot indices (padded with the sentinel 65535). For the configuration side, read Configure oracles and Scope oracle types.Key Components of Oracle Integration
Prices
Read every populated slot in a feed, or resolve a single token via its scope chain.
Feed Internals
Inspect a feed’s configuration, per-hop chain metadata, and per-slot oracle mappings.
Refresh
Build the permissionless refresh instruction that pushes fresh prices on-chain.
Integration Options
Scope Typescript SDK
On-chain reads against the Scope program plus the refresh-instruction builder. TypeScript only.
REST API
Off-chain aggregated Scope prices keyed by mint. Language-agnostic, no RPC required.
Read all prices
- TypeScript
Get a single token price
- TypeScript
What’s Covered
Prices
Read every populated slot in a feed, or resolve a single token via its scope chain. SDK plus REST.
Feed Internals
Feed configuration, per-hop chain metadata, and per-slot oracle mappings.
Refresh Prices
Build and send the permissionless refresh instruction for one or more slots.
Relevant Links
NPM SDK package
Install the Scope TypeScript SDK to read feeds and build refresh instructions.
Scope SDK repository
TypeScript SDK source and example scripts.
Oracle Architecture
Scope, price protection, and manipulation resistance explained.
Scope Oracle Types
Specialized Scope oracle entry types for fixed-income, multi-source, pegged, and LST assets.