GLAMIDL Reference

close_extra_metas_account

Closes a Token-2022 extra-account-metas account for GLAM Policies.

Accounts

AccountRoleDescription
extra_metas_accountwritableextra metas account account read or updated by GLAM Policies (Transfer Hook)'s close extra metas account instruction.
mintread-onlyToken mint account used or validated by this instruction.
authoritysigner, writableauthority account read or updated by GLAM Policies (Transfer Hook)'s close extra metas account instruction.
destinationwritabledestination account read or updated by GLAM Policies (Transfer Hook)'s close extra metas account instruction.
system_programread-onlySolana System Program.

No arguments

Policy & permissions

  • Signer must be the Token-2022 mint authority (validated through the mint constraint). The extra metas PDA is closed and its lamports are sent to the destination.
  • GLAM owner authority is not used.