GLAM MintProduction
crystallize_fees
Calculates and crystallizes time/performance fees for a tokenized vault.
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 vault must have fresh pricing records for the operation; fee or fulfillment math depends on NAV values written by the pricing flow.
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_escrow | read-only | Escrow account or escrow token account used by mint flows. |
| glam_mint | writable | Token mint account used or validated by this instruction. |
| escrow_mint_ata | writable | Token mint account used or validated by this instruction. |
| signer | signer, writable | Calling authority or fee payer. |
| glam_protocol_program | read-only | GLAM Protocol program account used for authorization or CPI. |
| token_2022_program | read-only | Token-2022 program account. |
No arguments
Policy & permissions
- No manager or protocol authority access check is enforced. Any signer can trigger fee crystallization when AUM and fee state are valid.
TypeScript SDK usage
await glamClient.fees.crystallizeFees();Cross-instruction constraints
- Requires fresh pricing for the vault. The pricing operation itself must be atomic in a single transaction.