GLAMIDL Reference
GLAM MintProduction

queued_subscribe

Queues a subscription request for later fulfillment and claim.

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 investor must satisfy mint policy checks, including allowlist, blocklist, minimum subscription amount, max-cap, and lockup configuration where enabled.
  • The subscription asset mint and token accounts must match the mint's base asset configuration, and the resulting share calculation must use the validated NAV path for the flow.

Accounts

AccountRoleDescription
glam_stateread-onlyGLAM state account that stores vault configuration, integration ACLs, delegate permissions, policies, assets, mint linkage, and pricing records.
glam_mintwritableToken mint account used or validated by this instruction.
glam_escrowread-onlyEscrow account or escrow token account used by mint flows.
request_queuewritableRequest queue account used by mint subscription or redemption flows.
signersigner, writableCalling authority or fee payer.
deposit_assetread-onlyMint account for the asset being deposited, subscribed with, or used for fee settlement.
escrow_deposit_atawritableToken account read or written by this instruction.
signer_deposit_atawritableToken account read or written by this instruction.
system_programread-onlySolana System Program.
deposit_token_programread-onlyToken program account.
associated_token_programread-onlyAssociated Token Account program.

Arguments

ArgumentTypeNotes
amount_inu64

Policy & permissions

  • Investor caller must satisfy mint policy, including allowlist, blocklist, lockup, and minimum amount checks where configured.

TypeScript SDK usage

await glamClient.invest.subscribe(
  new BN(10_000_000_000),
  true,
);