Tator Trader - AI Trading
/install tator-trader
\r \r
Tator AI Trading API\r
\r Trade on 24 chains using natural language. Send a prompt like "Buy 0.1 ETH worth of PEPE on Base" — Tator returns UNSIGNED transactions for you to review, sign, and broadcast. $0.20 USDC per request via x402. Tator never touches your keys.\r \r
Quick Reference\r
\r
| Situation | Action |\r
|-----------|--------|\r
| User wants to buy/sell/swap a token | Build prompt with amount + token + chain, call Tator |\r
| User wants to bridge tokens | Include source chain, destination chain, amount in prompt |\r
| User wants to open a leveraged position | Include leverage, direction, collateral amount, protocol |\r
| User gives a vague prompt ("buy some crypto") | Ask for specifics: which token, how much, which chain |\r
| Response has type: "transaction" | Verify each TX (check to, value, chainId), then sign and broadcast IN ORDER |\r
| Response has type: "error" | Show error message to user, suggest fixes |\r
| Response has type: "info" | Display the information to user |\r
| Multiple transactions returned | Execute sequentially — wait for each to confirm before sending next |\r
| Unknown/new token | Use contract address instead of name in prompt |\r
| User hasn't scanned the token yet | Scan first with quickintel-scan skill ($0.03) before buying |\r
\r
Endpoint\r
\r
POST https://x402.quickintel.io/v1/tator/prompt\r
\r
{\r
"prompt": "Buy 0.1 ETH worth of PEPE on Base",\r
"walletAddress": "0xYourPublicWalletAddress",\r
"provider": "your-agent-name"\r
}\r
```\r
\r
| Field | Required | Description |\r
|-------|----------|-------------|\r
| `prompt` | Yes | Natural language trading instruction |\r
| `walletAddress` | Yes | Your PUBLIC wallet address (receives tokens, signs TX) |\r
| `provider` | Yes | Your agent/app identifier |\r
| `async` | No | Returns job ID to poll. Default: `false` |\r
| `chain` | No | Preferred chain (e.g., "base", "ethereum") |\r
| `slippage` | No | Slippage tolerance %. Default: `1` |\r
\r
**Cost:** $0.20 USDC (200000 atomic units) on any of 14 payment networks. Base recommended for lowest fees.\r
\r
> **⚠️ NEVER paste private keys or seed phrases into prompts.** Tator only needs your PUBLIC wallet address. The `walletAddress` field is your public address — the one you'd share to receive tokens.\r
\r
## Writing Good Prompts\r
\r
Better prompts = better results. You pay $0.20 regardless of outcome.\r
\r
| Good | Bad |\r
|------|-----|\r
| "Buy 0.1 ETH worth of PEPE on Base" | "Buy some crypto" |\r
| "Swap 100 USDC for ETH on Arbitrum" | "Swap tokens" |\r
| "Bridge 50 USDC from Base to Arbitrum" | "Bridge my tokens" |\r
| "Open 5x long on ETH with 100 USDC on Avantis" | "Go long ETH" |\r
| "Buy 0x1234...abcd on Base" (contract address for obscure tokens) | "Get me that new meme coin" |\r
\r
**Tips:** Always include chain. Specify amounts. Use contract addresses for obscure tokens. For bridging, include source AND destination chain.\r
\r
## Capabilities\r
\r
| Category | Operations | Example |\r
|----------|-----------|---------|\r
| **Trading** | Buy, sell, swap | "Swap 100 USDC for ETH on Arbitrum" |\r
| **Transfers** | Send, wrap, unwrap, burn | "Send 50 USDC to 0x1234..." |\r
| **Bridging** | Cross-chain via Relay, LiFi, GasZip, deBridge | "Bridge 100 USDC from Base to Arbitrum" |\r
| **Perps** | Long/short via Avantis (Base) | "Open 5x long on ETH with 100 USDC" |\r
| **Prediction Markets** | Bet via Myriad | "Bet $10 on YES for 'Will ETH hit 5k?'" |\r
| **Token Launch** | Clanker (Base, Ethereum, Arbitrum, Unichain), Flaunch (Base), Pump.fun (Solana) | "Launch MYTOKEN with symbol MTK on Clanker" |\r
| **Names** | Basenames, MegaETH, Somnia | "Register myname.base" |\r
| **Yield** | Aave, Morpho, Compound, Yearn | "Deposit 1000 USDC into Aave on Base" |\r
\r
## Supported Chains (24)\r
\r
ethereum, base, arbitrum, optimism, polygon, avalanche, bsc, linea, sonic, berachain, abstract, unichain, ink, soneium, ronin, worldchain, sei, hyperevm, katana, somnia, plasma, monad, megaeth, solana\r
\r
Use exact chain names as shown (e.g., `"base"` not `"Base"`, `"bsc"` not `"binance"`).\r
\r
## Handling Responses\r
\r
### Transaction Response (Most Common)\r
\r
```json\r
{\r
"type": "transaction",\r
"transactions": [\r
{\r
"to": "0xContractAddress",\r
"data": "0xCalldata...",\r
"value": "100000000000000000",\r
"chainId": 8453,\r
"description": "Buy PEPE with 0.1 ETH on Base"\r
}\r
],\r
"message": "Transaction ready. Sign and broadcast to complete."\r
}\r
```\r
\r
**Before signing every transaction, verify:**\r
1. **`to` address** — Should be a known DEX router, bridge contract, or the address YOU specified\r
2. **`value` field** — Should match the ETH/native amount from your prompt (for ERC-20 swaps this is usually `"0"`)\r
3. **`chainId`** — Should match the chain you requested\r
4. **`description`** — Should align with your original prompt\r
5. **For approvals** (`0x095ea7b3` selector) — Spender should be a known protocol contract\r
\r
If anything looks wrong, **do not sign**. Ask Tator again with a more specific prompt or verify the contract on a block explorer.\r
\r
### Error Response\r
\r
```json\r
{\r
"type": "error",\r
"message": "Insufficient balance. You have 0.05 ETH but need 0.1 ETH.",\r
"code": "INSUFFICIENT_BALANCE"\r
}\r
```\r
\r
| Code | Fix |\r
|------|-----|\r
| `INSUFFICIENT_BALANCE` | Check token balance before calling |\r
| `UNSUPPORTED_CHAIN` | Use a supported chain from the list |\r
| `TOKEN_NOT_FOUND` | Use contract address instead of name |\r
| `INVALID_PROMPT` | Be more specific |\r
| `SLIPPAGE_TOO_HIGH` | Reduce trade size or increase slippage tolerance |\r
\r
### Info Response\r
\r
Returned for information queries (prices, balances). Display the `message` to the user.\r
\r
## Wallet Integration\r
\r
> **⚠️ Wallet Security:** Tator does NOT require your private key. The x402 payment uses YOUR agent's existing wallet. Use a **managed wallet service** to avoid raw key exposure entirely.\r
\r
| Your setup | Use this | Key exposure |\r
|-----------|----------|-------------|\r
| Using Sponge Wallet | **Pattern A** below (recommended) | ✅ No raw keys |\r
| Using AgentWallet (frames.ag) | **Pattern B** below | ✅ No raw keys |\r
| Using Lobster.cash / Crossmint | See `references/REFERENCE.md` | ✅ No raw keys |\r
| Using Vincent Wallet | See `references/REFERENCE.md` | ✅ No raw keys |\r
| Need programmatic signing (viem, ethers, @x402/fetch, Solana) | See `references/REFERENCE.md` | ⚠️ Advanced — read security notes |\r
| Not sure / no wallet | Start with **Pattern A** (Sponge) | ✅ No raw keys |\r
\r
### Pattern A: Sponge Wallet (Recommended — No Raw Keys)\r
\r
```bash\r
curl -sS -X POST "https://api.wallet.paysponge.com/api/x402/fetch" \\r
-H "Authorization: Bearer $SPONGE_API_KEY" \\r
-H "Content-Type: application/json" \\r
-d '{\r
"url": "https://x402.quickintel.io/v1/tator/prompt",\r
"method": "POST",\r
"body": {\r
"prompt": "Buy 0.1 ETH worth of PEPE on Base",\r
"walletAddress": "0xYourSpongeWalletAddress",\r
"provider": "sponge-agent"\r
},\r
"preferred_chain": "base"\r
}'\r
```\r
\r
Sponge handles the 402 payment flow automatically. You still verify and sign the returned trade transactions. Requires: `SPONGE_API_KEY` env var.\r
\r
### Pattern B: AgentWallet (No Raw Keys)\r
\r
```javascript\r
const response = await fetch('https://frames.ag/api/wallets/{username}/actions/x402/fetch', {\r
method: 'POST',\r
headers: {\r
'Authorization': `Bearer ${process.env.AGENTWALLET_API_TOKEN}`,\r
'Content-Type': 'application/json'\r
},\r
body: JSON.stringify({\r
url: 'https://x402.quickintel.io/v1/tator/prompt',\r
method: 'POST',\r
body: {\r
prompt: 'Swap 100 USDC for ETH on Base',\r
walletAddress: agentWalletAddress,\r
provider: 'my-agent'\r
}\r
})\r
});\r
const result = await response.json();\r
\r
// Verify and broadcast via AgentWallet\r
if (result.type === 'transaction') {\r
for (const tx of result.transactions) {\r
// VERIFY before signing — check to, value, chainId, description\r
const broadcast = await fetch(\r
'https://frames.ag/api/wallets/{username}/actions/send-transaction',\r
{\r
method: 'POST',\r
headers: {\r
'Authorization': `Bearer ${process.env.AGENTWALLET_API_TOKEN}`,\r
'Content-Type': 'application/json'\r
},\r
body: JSON.stringify({\r
chainId: tx.chainId, to: tx.to, data: tx.data, value: tx.value\r
})\r
}\r
);\r
console.log(`TX sent: ${(await broadcast.json()).hash}`);\r
}\r
}\r
```\r
\r
> For programmatic signing patterns (@x402/fetch, viem, ethers.js, Solana, Vincent), see `references/REFERENCE.md`. These require a dedicated hot wallet with minimal funds — never use your main wallet.\r
\r
## Async Mode\r
\r
For long-running operations, add `"async": true` to get a job ID:\r
\r
```json\r
{ "type": "pending", "jobId": "job_abc123", "message": "Poll for result." }\r
```\r
\r
Poll (FREE — no payment): `GET https://x402.quickintel.io/v1/tator/jobs/job_abc123`\r
\r
## Scan Before You Buy\r
\r
**Always scan unknown tokens before trading.** Use the `quickintel-scan` skill ($0.03) to check for honeypots, scams, and rug pull risks:\r
\r
```javascript\r
// 1. Scan token ($0.03)\r
const scan = await scanToken(chain, tokenAddress);\r
if (scan.tokenDynamicDetails.is_Honeypot) throw new Error('HONEYPOT');\r
if (scan.quickiAudit.has_Scams) throw new Error('SCAM');\r
\r
// 2. Only then trade ($0.20)\r
const trade = await callTator(`Buy 0.1 ETH worth of ${tokenAddress} on ${chain}`, wallet);\r
```\r
\r
Total cost: $0.23 for a scanned, verified trade. See `references/REFERENCE.md` for the complete scan-then-buy example.\r
\r
## Security Model\r
\r
```\r
YOUR SIDE TATOR'S SIDE\r
───────────── ─────────────\r
• Private keys (never shared) • Interprets your prompt\r
• Transaction review (before sign) • Constructs unsigned calldata\r
• Signing decision (your wallet) • Returns TXs for your review\r
• Broadcasting (you submit) • Charges $0.20 via x402\r
\r
Tator NEVER receives your private key.\r
Tator CANNOT execute without your signature.\r
The worst Tator can do is return a bad transaction.\r
The worst YOU can do is sign it without checking.\r
```\r
\r
## Payment Networks (14)\r
\r
Pay on any of these networks: Base (recommended), Ethereum, Arbitrum, Optimism, Polygon, Avalanche, Unichain, Linea, Sonic, HyperEVM, Ink, Monad, MegaETH (USDM), Solana.\r
\r
See `references/REFERENCE.md` for full USDC/USDM addresses per chain.\r
\r
## Error Handling\r
\r
| Error | Cause | Fix |\r
|-------|-------|-----|\r
| `402 Payment Required` | No payment header | Ensure wallet configured with $0.20+ USDC |\r
| `402 Signature verification failed` | Bad payload structure | Check references/REFERENCE.md common mistakes |\r
| `INSUFFICIENT_BALANCE` | Can't afford trade | Check balance first |\r
| `TOKEN_NOT_FOUND` | Unknown token | Use contract address |\r
\r
## Important Notes\r
\r
- **Payment charged regardless of outcome.** Use `payment-identifier` extension for safe retries (see references/REFERENCE.md).\r
- **Multi-TX requires sequential execution.** Approvals must confirm before swaps.\r
- **Bridge times vary.** 30 seconds to 30 minutes depending on protocol.\r
- **Perps have liquidation risk.** Leverage trading can lose your collateral.\r
- **Scan results are point-in-time.** Re-scan periodically for held tokens.\r
\r
## Discovery Endpoint\r
\r
Query accepted payments and schemas: `GET https://x402.quickintel.io/accepted`\r
\r
## Cross-Reference\r
\r
- **Token security scanning** → `quickintel-scan` skill ($0.03/scan)\r
- **Deep x402 implementation, all wallet patterns, transaction verification** → `references/REFERENCE.md`\r
- **Chain details, RPCs, block explorers** → `references/chains.md`\r
\r
## About\r
\r
Tator's endpoint (`x402.quickintel.io`) is operated by **Quick Intel LLC**, a registered US-based cryptocurrency security company. Over 50 million token scans processed. APIs power DexTools, DexScreener, and Tator Trader. Operational since April 2023.\r
\r
- Tator Docs: https://docs.quickintel.io/tator\r
- x402 Protocol: https://www.x402.org\r
- Support: https://t.me/tatortrader
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install tator-trader - 安装完成后,直接呼叫该 Skill 的名称或使用
/tator-trader触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Tator Trader - AI Trading 是什么?
Execute crypto trades using natural language via Tator's AI trading API. Use when: buying tokens, selling tokens, swapping, bridging cross-chain, sending tok... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 640 次。
如何安装 Tator Trader - AI Trading?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install tator-trader」即可一键安装,无需额外配置。
Tator Trader - AI Trading 是免费的吗?
是的,Tator Trader - AI Trading 完全免费(开源免费),可自由下载、安装和使用。
Tator Trader - AI Trading 支持哪些平台?
Tator Trader - AI Trading 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Tator Trader - AI Trading?
由 Ninja Dev (QI)(@azep-ninja)开发并维护,当前版本 v1.0.6。