Skip to main content
Commands for transferring tokens out of the vault.
The SplToken integration must be enabled before using these commands:
glam-cli integration enable SplToken

Transfer Tokens

Transfer SPL tokens from the vault to a destination address.
  • amount: Amount to transfer
  • to: Destination public key
  • --token, -t: Token mint address (defaults to wSOL)
glam-cli transfer <amount> <to> [--token <mint>] [--yes]
Example: Transfer 10 USDC:
glam-cli transfer 10 Recipient111111111111111111111111 --token EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v

Policy Management

Token transfer policies allow you to restrict which addresses can receive transfers from the vault.

View Policy

View the current token transfer policy.
glam-cli transfer view-policy

Allowlist Destination

Add a destination address to the transfer allowlist. When destinations are allowlisted, transfers are restricted to only those addresses.
glam-cli transfer allowlist-destination <pubkey> [--yes]

Remove Destination

Remove a destination address from the transfer allowlist.
glam-cli transfer remove-destination <pubkey> [--yes]