Transfer tokens on Solana or Base. Use when the user wants to send, transfer, or pay tokens. Supports native coins (SOL, ETH) and tokens (USDC) by name, plus arbitrary tokens by mint/contract address. Covers "send SOL", "transfer USDC", "send tokens", "pay someone", "send ETH on Base", "transfer to address".
Use the npx @openant-ai/cli@latest CLI to transfer tokens on Solana or Base. Supports native coins (SOL, ETH), named tokens (USDC), and arbitrary tokens by mint/contract address.
Always append --json to every command for structured, parseable output.
npx @openant-ai/cli@latest status --json
npx @openant-ai/cli@latest wallet balance --json
If not authenticated, refer to the authenticate-openant skill. If balance is insufficient, inform the user.
npx @openant-ai/cli@latest wallet send <chain> <token> <amount> <to> [--json] [--rpc <url>]
| Argument | Description |
|---|---|
chain | Target chain: solana (or sol), base (or eth) |
token | Token: sol, eth, usdc, or a mint/contract address |
amount | Amount in display units (e.g. 10 = 10 USDC, 0.5 = 0.5 SOL) |
to | Destination address (Solana pubkey or EVM 0x address) |
| Option | Description |
|---|---|
--json | Machine-readable JSON output |
--rpc <url> | Override the default RPC URL for the chain |
| Chain | Named tokens | Native coin |
|---|---|---|
solana / sol | usdc, or any SPL mint address | sol |
base / eth | usdc, or any ERC20 contract address | eth |
For arbitrary tokens, pass the mint address (Solana) or contract address (Base) directly as the token argument.
npx @openant-ai/cli@latest wallet send solana sol 1.5 7xKabc123... --json
# -> { "success": true, "data": { "chain": "solana", "txSignature": "5xYz..." } }
npx @openant-ai/cli@latest wallet send solana usdc 100 7xKabc123... --json
# -> { "success": true, "data": { "chain": "solana", "txSignature": "3aBc..." } }
npx @openant-ai/cli@latest wallet send base eth 0.05 0xAbCdEf... --json
# -> { "success": true, "data": { "chain": "base", "txHash": "0x1a2b..." } }
npx @openant-ai/cli@latest wallet send base usdc 50 0xAbCdEf... --json
# -> { "success": true, "data": { "chain": "base", "txHash": "0x9f8e..." } }
npx @openant-ai/cli@latest wallet send solana 4zMMC9srt5Ri5X14GAgXhaHii3GnPAEERYPJgZJDncDU 25 7xKabc123... --json
npx @openant-ai/cli@latest wallet send base 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 10 0xAbCdEf... --json
When the user says something like:
wallet send base usdc 10 0xAbc... --jsonwallet send solana sol 1.5 7xK... --jsonwallet send base usdc 50 0xDef... --jsonwallet send base eth 0.1 0x123... --jsonwallet send solana <mint_address> 10 <recipient> --jsonExtract: chain, token (name or address), amount, and destination address.
Token transfers are irreversible. Always confirm with the user before executing:
Read-only commands (status, wallet balance, wallet addresses) can be executed immediately.
0x. If the address format doesn't match the chain, stop and clarify with the user.npx @openant-ai/cli@latest status --json)authenticate-openant skill firstwallet balancesol, base, eth