Commands
Run tm <command> --help for the authoritative flags on any command.
Global flags
| Flag | Default | Description |
|---|---|---|
-o, --output | table | Output format: json or table |
Every command accepts -o json, which is what makes the CLI scriptable.
Trading
tm buy <token> <amount> · tm sell <token> <amount>
Buy or sell a token. The chain is resolved from the token symbol unless you override it.
| Flag | Default | Description |
|---|---|---|
--chain | solana | Blockchain network: solana or base |
--qty-unit | quote | Whether <amount> is in base (token) or quote (USD) units |
--dry-run | false | Print the quote without executing |
--force | false | Execute without the confirmation prompt |
$ tm buy SOL 100 --dry-run
Chain: Solana
Asset: SOL
Amount: $100.00
Price: $142.38
Qty: 0.7024 SOL
Fee: $0.20
$ tm buy SOL 100 --force
✓ Order filled — 0.7024 SOL @ $142.38
--qty-unit base reads <amount> as a token quantity instead of dollars — tm buy SOL 0.5 --qty-unit base buys half a SOL.
--force skips confirmationWithout --force the CLI prompts before spending. Scripts and agents that pass --force execute immediately — pair it with --dry-run on a first pass.
tm transfer <to> <token> <amount>
Transfer tokens to an external address.
| Flag | Default | Description |
|---|---|---|
--chain | solana | Blockchain network: solana or base |
--qty-unit | base | base (token) or quote (USD) units — note this defaults to base, unlike buy/sell |
--dry-run | false | Print transfer details without executing |
--force | false | Execute without the confirmation prompt |
Account
tm balances
Show your token balances.
$ tm balances -o json
[{"asset":"SOL","balance":"0.7024","chain":"solana"}, ...]
tm whoami
Show your account and wallet info.
Discovery
tm assets
List available tokens — 150 across Solana and Base, continuously expanding.
| Flag | Default | Description |
|---|---|---|
--chain | (all) | Filter by chain: solana or base |
Auth and config
| Command | Description |
|---|---|
tm signup [email] | Create an account with email verification |
tm login [email] | Log in with an email verification code |
tm logout | Log out and clear stored tokens |
tm config show | Show current configuration (secrets masked) |
tm config set <key> <value> | Set a configuration value |
See Authentication for the full auth flow and environment variables.