Skip to main content
Refresh registered price entries from configured sources. update_price returns no data. Instruction data is one discriminator byte (0x07), followed by Borsh arguments in the order shown.

Authority and conditions

Permissionless; no fixed signer. Reads configured sources; ordinary update does not advance TWAP sampling.

Accounts

Fixed accounts use zero-based indices. S means signer; W means writable. Unmarked accounts are read-only non-signers.

Arguments

Use refresh planning to resolve source dependencies. This instruction updates already-registered prices. It does not register sources.

Remaining accounts

Shared PriceInterfaceAccounts prefix of length max(interface_accounts_index)+1, followed by each update source-account group in updates order. Each index addresses prefix; several updates may share one interface account. Group length depends on configured PriceType; use the SDK planner to resolve the groups. ScaledUi interface account must be writable because update persists its cache. See common accounts for shared PDA conventions.