GLAM MintProduction
cancel
Cancels an eligible queued subscription or redemption request.
Applies toVaultTokenized VaultSingle-Asset Vault
Required conditions
- The request queue or escrow account must contain the expected request state for the signer, request type, timing window, and amount being processed.
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_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. |
| user | read-only | user account read by GLAM Mint's cancel instruction. |
| recover_token_mint | read-only | Token mint account used or validated by this instruction. |
| user_ata | writable | Token account read or written by this instruction. |
| escrow_ata | writable | Token account read or written by this instruction. |
| system_program | read-only | Solana System Program. |
| recover_token_program | read-only | Token program account. |
| associated_token_program | read-only | Associated Token Account program. |
No arguments
Policy & permissions
- The request owner can cancel their own request unconditionally — no allowlist, blocklist, or minimum check is enforced.
- For any other signer: the GLAM owner can cancel another user's request directly; non-owner delegates must hold Mint
CancelRequest. - After authorization, the recovered asset is validated and the escrowed tokens are returned.
TypeScript SDK usage
await glamClient.invest.cancel();