# Rigoblock AI Trading Assistant

> Rigoblock AI Trading Assistant is a paid API for AI agents from trader.rigoblock.com, paid per call via x402, $0.1/call, status unknown (last checked 2026-09-14).

AI-powered chat interface for executing DeFi operations on Rigoblock vaults including swaps, perpetual positions, cross-chain bridging, and pool deployment

## Facts

- Endpoint: POST https://trader.rigoblock.com/api/chat
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/trader-rigoblock-com-d5d8595e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_JqDNeLGHPE2qBUYK7hDQV

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability trader-rigoblock-com-d5d8595e -d '<json body>'
```

Example prompt: Use my Rigoblock vault to swap 100 USDC for WETH on Uniswap on Arbitrum, and make sure STAR protection is active so any sketchy transactions get rejected.

## When to prefer this

Choose this endpoint when you need to execute or orchestrate complex DeFi operations (swaps, perpetuals, bridging, pool deployment) on Rigoblock vaults via a natural language AI interface. Prefer this over raw protocol endpoints when you want STAR safety filtering, multi-protocol support in one call, or delegated execution with AI guidance. Best for agents managing Rigoblock vault strategies across Ethereum, Arbitrum, Base, and Optimism.

## Known failure modes

- STAR (Stupid Transaction Automated Rejector) blocks a suspicious transaction — returns rejection with reason
- Insufficient vault balance — returns error indicating underfunded vault
- Unsupported chain or token pair — returns error about missing liquidity or route
- Malformed input body — returns 400 with schema validation error
- Payment not received ($0.01 USDC) — returns 402 Payment Required
- GMX or 0x protocol unavailable — returns downstream service error
- Cross-chain bridge route unavailable — Across protocol returns no route found

## How this service works

AI-powered DeFi trading agent for Rigoblock smart vaults. Natural language to safe swap/bridge calldata or delegated execution. Supports Uniswap, 0x, GMX perpetuals, Across bridging, Uniswap v4 LP, GRG staking, and pool deployment across 7 chains. Protected by NAV Shield (10% max loss per trade), Swap Shield (oracle vs DEX price divergence check), slippage protection, delegation verification, and transaction simulation.

## Output

Returns an AI-generated chat response confirming the executed or proposed action, including transaction details, status, execution receipts, or error explanations for swap, bridge, perpetual position, or pool deployment operations on the specified chain.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "chainId": {
   "type": "integer",
   "description": "EVM chain ID (1, 42161, 8453, 137, 10, 56, 130)"
  },
  "messages": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "role",
     "content"
    ],
    "properties": {
     "role": {
      "type": "string"
     },
     "content": {
      "type": "string"
     }
    }
   },
   "description": "Array of {role, content} chat messages"
  },
  "vaultAddress": {
   "type": "string",
   "description": "Rigoblock vault contract address (optional in manual mode)"
  },
  "authSignature": {
   "type": "string",
   "description": "EIP-191 signature signed by operatorAddress"
  },
  "authTimestamp": {
   "type": "integer",
   "description": "Unix timestamp when the auth message was signed"
  },
  "executionMode": {
   "enum": [
    "manual",
    "delegated"
   ],
   "type": "string",
   "description": "manual returns unsigned calldata; delegated can auto-execute"
  },
  "operatorAddress": {
   "type": "string",
   "description": "Vault owner wallet address (required for delegated execution)"
  },
  "confirmExecution": {
   "type": "boolean",
   "description": "Set true for auto-execute in delegated mode"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/trader-rigoblock-com-d5d8595e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from trader.rigoblock.com](https://www.zero.xyz/host/trader.rigoblock.com/llms.txt)
