Skip to main content

Commands

Run tm <command> --help for the authoritative flags on any command.

Global flags

FlagDefaultDescription
-o, --outputtableOutput 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.

FlagDefaultDescription
--chainsolanaBlockchain network: solana or base
--qty-unitquoteWhether <amount> is in base (token) or quote (USD) units
--dry-runfalsePrint the quote without executing
--forcefalseExecute 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 confirmation

Without --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.

FlagDefaultDescription
--chainsolanaBlockchain network: solana or base
--qty-unitbasebase (token) or quote (USD) units — note this defaults to base, unlike buy/sell
--dry-runfalsePrint transfer details without executing
--forcefalseExecute 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.

FlagDefaultDescription
--chain(all)Filter by chain: solana or base

Auth and config

CommandDescription
tm signup [email]Create an account with email verification
tm login [email]Log in with an email verification code
tm logoutLog out and clear stored tokens
tm config showShow current configuration (secrets masked)
tm config set <key> <value>Set a configuration value

See Authentication for the full auth flow and environment variables.


Next → AI agents