GLAM Mint StagingStaging
set_token_accounts_states
Freezes or thaws Token-2022 token accounts associated with the GLAM mint.
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.
- Configuration changes must pass owner or authorized-manager checks and, when the state or mint timelock is active, must follow the propose/apply timing model instead of taking effect immediately.
Accounts
| Account | Role | Description |
|---|---|---|
| glam_state | read-only | State account owned by the GLAM Protocol program; it records vault configuration, policies, and pricing records. |
| glam_signer | signer, writable | Calling authority. It must be the owner or a delegate with the explicit permission required by this instruction. |
| glam_mint | writable | Token-2022 mint associated with the GLAM mint or tokenized vault. |
| token_2022_program | read-only | Standard Solana program account required by the instruction. |
Arguments
| Argument | Type | Notes |
|---|---|---|
| frozen | bool | Whether the selected Token-2022 accounts should be frozen or thawed. |
Policy & permissions
- Only the owner is expected. Delegates do not receive this capability by being added; it must be granted explicitly if supported.
TypeScript SDK usage
await glamClient.mint.setTokenAccountsStates(
[tokenAccount],
true,
);