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.
createGetIndexInstruction
Retrieves the current exchange rate index from SyMeta for yield-stripping price calculations. This index represents the conversion rate between the base asset and its synthetic (SY) representation, and is used internally for vault valuations when positions involve yield-stripped assets.Usage
Accounts
| Name | Signer | Writable | Description |
|---|---|---|---|
meta | No | Yes | SyMeta account to read and update the exchange rate index |
mintSy | No | No | SY token mint |
tokenSyEscrow | No | No | SY token escrow account holding the underlying balance |
Args
This instruction takes no arguments.Returns
TransactionInstruction — a transaction instruction ready to be added to a transaction.