Skip to main content

createCollectInterestInstruction

Builds a raw instruction to collect accrued interest (paid in SY) from a yield position.

Usage

Accounts

Args

Amount Helper

Returns

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