Skip to main content

createWithdrawInstruction

Builds a raw instruction that burns Senior or Junior LP shares and withdraws SY.

Usage

Accounts

Args

Remaining accounts

Append the market’s getSyState and withdrawSy CPI remaining accounts after the generated keys.

Returns

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