Skip to main content

createCollectInterestInstruction

Builds a raw instruction to collect accrued SY interest earned by a trader’s positions held in the orderbook.

Usage

Accounts

Args

Amount Helper

Returns

TransactionInstruction — a transaction instruction ready to be added to a transaction.