GLAMIDL Reference

close_policy

Closes a GLAM Policies lockup policy account.

Accounts

AccountRoleDescription
policy_accountwritablePolicy account or policy-related account.
signersigner, writableCalling authority or fee payer.
subjectwritablesubject account read or updated by GLAM Policies (Transfer Hook)'s close policy instruction.
system_programread-onlySolana System Program.

No arguments

Policy & permissions

  • Any signer can close an expired policy PDA. Lamports are refunded to the subject.
  • No GLAM owner authority or empty-state check is required.