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.
Reading Feed Internals
Beyond prices, the Scope SDK exposes the wiring behind a feed: its top-levelConfiguration account, the per-hop metadata for a scope chain (provider plus oracle type), and the raw per-slot oracle mappings.
Feed Configuration
A feed’sConfiguration holds the admin and the accounts it owns: oraclePrices, oracleMappings, tokensMetadata, and oracleTwaps.
feedConfiguration
List every feed on the Scope program with
scope.getAllConfigurations().Chain Metadata (what backs a price)
getChainMetadata returns one entry per hop of a scope chain, telling you which provider serves the price and which oracle type produces it (one of about 40 kinds, including PythPull, ScopeTwap, SplStake, DiscountToMaturity, MostRecentOf, and CappedFloored).
chainMetadata
The oracle type is chosen by the feed admin at config time (
updateFeedMapping). This call only inspects what is already set. For the curator-facing configuration side, see Scope Oracle Types.Oracle Mappings (raw per-slot wiring)
getOracleMappings returns the raw per-slot wiring behind every price in the feed. Where getChainMetadata humanizes one chain’s hops, the mappings expose every slot: the source account Scope reads, the oracle type discriminant, TWAP smoothing config, and the Reference Price Check slot.
oracleMappings
65535 is the unset sentinel throughout. refPrice is the slot an incoming price is sanity-checked against, the Reference Price Check feature described in Scope Oracle Types.