Skip to main content

createStakeVoteInstruction

Builds a raw instruction to stake LP tokens to vote on an active governance proposal. LP holders choose either Reject (to block the proposal from passing) or OptOut (to not block the proposal but queue their LP tokens for withdrawal if it passes). The staked LP amount determines the voter’s weight.

Usage

Accounts

Args

Returns

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