GLAM Mint StagingStaging
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
| Account | Role | Description |
|---|---|---|
| glam_state | read-only | GLAM state account that stores vault configuration, integration ACLs, delegate permissions, policies, assets, mint linkage, and pricing records. |
| glam_mint | writable | Token mint account used or validated by this instruction. |
| glam_escrow | read-only | Escrow account or escrow token account used by mint flows. |
| request_queue | writable | Request queue account used by mint subscription or redemption flows. |
| signer | signer, writable | Calling authority or fee payer. |
| deposit_asset | read-only | Mint account for the asset being deposited, subscribed with, or used for fee settlement. |
| escrow_deposit_ata | writable | Token account read or written by this instruction. |
| signer_deposit_ata | writable | Token account read or written by this instruction. |
| system_program | read-only | Solana System Program. |
| deposit_token_program | read-only | Token program account. |
| associated_token_program | read-only | Associated Token Account program. |
Arguments
| Argument | Type | Notes |
|---|---|---|
| amount_in | u64 |
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,
);