TheDocumentation 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.
ixWrapperCollectInterest instruction collects accrued interest from YT held in open orders, as well as held from filled orders on the Exponent orderbook.
Usage
Required Parameters
| Parameter | Type | Description |
|---|---|---|
trader | PublicKey | The trader’s wallet public key |
mintSy | PublicKey | The SY token mint address |
Optional Parameters
| Parameter | Type | Description |
|---|---|---|
sySrc | PublicKey | SY token source account |
tokenBaseTrader | PublicKey | Base token account for the trader |
Returns
Returns aTransactionInstruction that collects accrued interest and transfers it to the trader’s SY token account.