GLAM MintProduction
close_mint
Closes a zero-supply GLAM mint after unlinking it from state and clearing its request queue.
Applies toVaultTokenized VaultSingle-Asset Vault
Required conditions
- Mint actions must satisfy the linked GLAM state, Token-2022 mint configuration, mint policy, and any request queue or escrow state involved in the flow.
- The GLAM state owner must sign through the mint close authority path.
- The Token-2022 mint supply must be zero before the mint account can be closed.
- For tokenized vaults, the request queue account must be present and its request count must be zero.
- The transfer-hook extra-account-metas account must be writable because the mint close flow closes it through the GLAM Policies program.
- The mint must be unlinked from the GLAM state before the Token-2022 mint account and request queue are closed.
Accounts
| Account | Role | Description |
|---|---|---|
| glam_state | writable | GLAM state account that stores vault configuration, integration ACLs, delegate permissions, policies, assets, mint linkage, and pricing records. |
| glam_signer | signer, writable | Calling authority or fee payer. |
| glam_mint | writable | Token mint account used or validated by this instruction. |
| request_queue | writable, optional | Request queue account used by mint subscription or redemption flows. |
| extra_metas_account | writable | extra metas account account read or updated by GLAM Mint's close mint instruction. |
| system_program | read-only | Solana System Program. |
| policies_program | read-only | policies program account invoked or checked by this instruction. |
| token_2022_program | read-only | Token-2022 program account. |
| glam_protocol | read-only | GLAM Protocol program account used for authorization or CPI. |
No arguments
Policy & permissions
- Only the GLAM owner can call this; delegates are rejected.
TypeScript SDK usage
await glamClient.mint.close();