Skip to main content
The ixMerge method on the Vault class creates a transaction instruction that merges PT and YT back into SY tokens.
This method returns SY tokens. If you want to receive the base asset directly (e.g., USDC), use ixMergeToBase instead.

Usage

Required Parameters

Optional Parameters

Returns

Returns a TransactionInstruction that merges equal amounts of PT and YT back into SY.