GLAMIDL Reference
GLAM MintProduction

claim_fees

Claims accrued manager or protocol fees from 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

AccountRoleDescription
glam_stateread-onlyGLAM state account that stores vault configuration, integration ACLs, delegate permissions, policies, assets, mint linkage, and pricing records.
glam_vaultwritableVault PDA associated with the GLAM state and used as the vault authority.
glam_mintwritableToken mint account used or validated by this instruction.
glam_escrowread-onlyEscrow account or escrow token account used by mint flows.
escrow_mint_atawritableToken mint account used or validated by this instruction.
signersigner, writableCalling authority or fee payer.
deposit_assetread-onlyMint account for the asset being deposited, subscribed with, or used for fee settlement.
vault_deposit_atawritableToken account read or written by this instruction.
protocol_fee_authorityread-onlyConfigured protocol fee recipient authority for accrued tokenized-vault fees.
protocol_fee_authority_atawritableToken account read or written by this instruction.
manager_fee_authorityread-onlyConfigured manager fee recipient authority for accrued tokenized-vault fees.
manager_fee_authority_atawritableToken account read or written by this instruction.
glam_configread-onlyGlobal GLAM configuration account for fee and asset/oracle metadata.
glam_protocol_programread-onlyGLAM Protocol program account used for authorization or CPI.
system_programread-onlySolana System Program.
associated_token_programread-onlyAssociated Token Account program.
deposit_token_programread-onlyToken program account.
token_2022_programread-onlyToken-2022 program account.

No arguments

Policy & permissions

  • Caller: GLAM owner, or a delegate with Mint ClaimFees.
  • The manager and protocol authority accounts are validated payout recipients, not signer authorities.

TypeScript SDK usage

await glamClient.fees.claimFees();