Documentation Index
Fetch the complete documentation index at: https://v2-docs.exponent.finance/llms.txt
Use this file to discover all available pages before exploring further.
createUpdatePriceInstruction
Updates price values in the ExponentPrices account from oracle sources. Can be called by anyone since price data comes from verified oracle feeds — the instruction validates each update against the configured oracle for that price entry. Typically called before operations that depend on accurate token valuations, such as deposits, withdrawals, or AUM recalculations.Usage
Accounts
| Name | Signer | Writable | Description |
|---|---|---|---|
exponentPrices | No | Yes | ExponentPrices account to update |
Args
| Name | Type | Description |
|---|---|---|
updates | UpdatePriceInput[] | Array of price updates with new values for each token |
Returns
TransactionInstruction — a transaction instruction ready to be added to a transaction.