> ## Documentation Index
> Fetch the complete documentation index at: https://docs.exponent.finance/llms.txt
> Use this file to discover all available pages before exploring further.

# Update price

> Wire arguments, accounts, and permissions for update_price.

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.

| Index | Account | Privileges |
| - | - | - |
| 0 | `exponent_prices` | W |

## Arguments

| Argument | Wire type |
| - | - |
| `updates` | `Vec<UpdatePriceInput>` |

| Field (wire order) | Type | Meaning |
| - | - | - |
| `price_id` | `u64` | The price index (node index in allocator) to update |
| `interface_accounts_index` | `u8` | Index into the shared remaining-accounts prefix that contains PriceInterfaceAccounts. |

Use [refresh planning](https://docs.exponent.finance/developer-strategy-vaults/reference/load-vaults.md#prepare-refresh-inputs) 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](https://docs.exponent.finance/developer-strategy-vaults/raw-instructions/common-accounts.md) for shared PDA conventions.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.