GLAM Mint StagingStaging
set_token_accounts_states
Freezes or thaws Token-2022 token accounts associated with the GLAM mint.
Applies toVaultTokenized VaultSingle-Asset Vault
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_signer | signer, writable | Calling authority or fee payer. |
| glam_mint | writable | Token mint account used or validated by this instruction. |
| token_2022_program | read-only | Token-2022 program account. |
Arguments
| Argument | Type | Notes |
|---|---|---|
| frozen | bool |
Policy & permissions
- Signer must be the GLAM owner or a delegate holding the Mint
SetTokenAccountStatepermission. - Affected token accounts must be Token-2022 accounts whose freeze authority is the GLAM mint PDA.
TypeScript SDK usage
await glamClient.mint.setTokenAccountsStates(
[tokenAccount],
true,
);