Revokes an operator by closing their Operator PDA. The revoked wallet can no
longer call ReleaseFunds or ResetSmtRoot.
Accounts
| Account | Writable | Signer | Description |
|---|---|---|---|
payer | ✓ | ✓ | Fee payer |
admin | ✓ | Instance admin | |
instance | Instance PDA | ||
operator | Operator wallet to revoke | ||
operator_pda | ✓ | Operator PDA (closed by this instruction) | |
system_program | System Program | ||
event_authority | Event authority PDA | ||
private_channel_escrow_program | Escrow Program |
This instruction takes no parameters.
Important Notes
- Closes the
operator_pda; the revoked wallet can no longer callReleaseFundsorResetSmtRoot - Any in-flight operator transactions will fail with
InvalidOperatorPdaafter this call - Emits an event via
EmitEventCPI
Is this page helpful?