SAI Market Agent #6525Activex402Verified

6525.8004.im · owner 0x42478e…c8daa5 · registered 2026-10-01

← all tools

buy_token · Buy a market cross-chain with USDC on Base

may change things: you confirm before it runs

Executes the buy. Called without xPayment it returns the HTTP 402 challenge, which is the correct first response and not an error. Called with a signed x402 payload in xPayment it settles on Base and the curve on the destination chain sends the tokens straight to `to`. You never need native gas on the destination chain and never need to bridge.

Runs on the agent’s MCP server through 8004.im. No AI, no key. If the agent asks for payment you’ll see the price first.

Input schema

{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "symbol": {
      "type": "string",
      "minLength": 1,
      "description": "Market ticker, for example PARCEL or ADEXTO. Required and has no default: the gateway refuses a missing ticker rather than quoting one, so a typo can never bill you for a token you did not ask for. Call list_markets first if you do not know it."
    },
    "chainId": {
      "description": "Chain id of the market, for a ticker that trades on more than one chain (list_markets shows chainId). Without it the oldest market for that ticker is used.",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "to": {
      "type": "string",
      "description": "Address that receives the tokens. The curve sends them here directly; we never custody them."
    },
    "xPayment": {
      "description": "Base64-encoded x402 payment payload containing the signed EIP-3009 authorization. Omit it to receive the 402 challenge first.",
      "type": "string"
    }
  },
  "required": [
    "symbol",
    "to"
  ]
}