Address Lookup Table Commands
Address Lookup Tables (ALTs) help reduce transaction size by storing frequently used addresses. These commands manage ALTs for your GLAM vault.create
Create a new address lookup table for the connected GLAM vault. This command automatically collects all vault-related addresses and creates an ALT with them.Options
Skip confirmation prompt and execute immediately
Behavior
- Collects all vault-related addresses (state, vault PDA, mint, escrow, request queue, extra metas, protocol programs)
- Gets the current finalized slot
- Creates the lookup table
- Extends the table with collected addresses in batches if needed
- Returns multiple transaction signatures if batching is required
Examples
Create with confirmation:Output
extend
Extend an existing address lookup table with new addresses. This command compares current vault addresses against the ALT and adds any missing ones.Arguments
Public key of the address lookup table to extend (base58 encoded)
Options
Skip confirmation prompt and execute immediately
Behavior
- Validates that the specified ALT exists for this vault
- Collects current vault addresses
- Compares with existing ALT entries
- Identifies new addresses not in the table
- Extends the ALT with new addresses in batches if needed
- Returns early if no new addresses are found
Examples
Extend with confirmation:Output
When new addresses are found:list
List all address lookup tables created for the connected GLAM vault.Arguments
NoneOptions
NoneExamples
Output
When ALTs exist:Requirements
All ALT commands require:- An active vault connection (use
glam connect <vault>first) - The signer must have authority to modify the vault’s lookup tables
Error Handling
Common errors:- GlamClient is not connected to a vault: Connect to a vault first with
glam connect - Address lookup table not found: The specified ALT doesn’t exist or isn’t associated with this vault
- Invalid public key: The table argument is not a valid base58-encoded public key