Skip to main content

createUpdatePolicyInstruction

Builds a raw instruction to update an existing Squads instruction constraint policy on the vault. This replaces the policy’s configuration with a new one, allowing changes to program targets, instruction discriminators, or account constraints. Requires the manager role.

Usage

Accounts

Args

Returns

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