Skip to main content

createMergeInstruction

Builds a raw instruction to merge equal amounts of PT (Principal Token) and YT (Yield Token) back into SY tokens.

Usage

Accounts

Args

Returns

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