# CLI: Address Lookup Tables (ALT)
Manage Address Lookup Tables to optimize transaction sizes.
> **Advanced feature**: ALTs reduce transaction size by storing frequently-used account addresses. Required for complex transactions that would otherwise exceed size limits.
## Commands
### `glam-cli alt list`
List address lookup tables owned by the vault.
```bash
glam-cli alt list
```
### `glam-cli alt create`
Create a new address lookup table for the vault.
```bash
glam-cli alt create [--yes]
```
**Options:**
| Flag | Description |
|------|-------------|
| `-y, --yes` | Skip confirmation prompt |
**Note:** Requires `GLAM_API` environment variable to be set.
### `glam-cli alt extend`
Extend an existing lookup table with additional addresses.
```bash
glam-cli alt extend
[--yes]
```
**Arguments:**
| Argument | Description |
|----------|-------------|
| `TABLE` | Address lookup table public key |
**Options:**
| Flag | Description |
|------|-------------|
| `-y, --yes` | Skip confirmation prompt |
---
## When to Use ALTs
ALTs are useful when:
- Transactions fail due to size limits
- You're performing complex multi-protocol operations
- You want to reduce transaction fees (smaller = cheaper)
## Workflow
```bash
# 1. Check existing lookup tables
glam-cli alt list
# 2. Create new lookup table if needed
glam-cli alt create
# 3. Extend with more addresses if needed
glam-cli alt extend
```
---
## Important Notes
- **API required**: ALT creation requires the GLAM API (`GLAM_API` env var)
- **Advanced users**: Most users won't need to manage ALTs directly
- **Automatic handling**: Many CLI commands handle ALTs automatically