Skip to main content

createDepositLiquidityInstruction

Builds a raw instruction to deposit tokens into a Strategy Vault and receive LP tokens in return. The depositor specifies the token mint, the amount to deposit, and a minimum LP output to protect against slippage. Called by depositors who want to add liquidity to the vault.

Usage

Accounts

Args

Returns

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