Skip to main content

createFinalizeProposalInstruction

Builds a raw instruction to finalize a governance proposal after the voting period has ended. The instruction determines whether the proposal passes or is rejected based on the rejection threshold. If total reject votes exceed the threshold percentage of LP supply, the proposal is rejected. This instruction is permissionless and can be called by anyone.

Usage

Accounts

Returns

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