{
  "serviceId": "tx-explain",
  "displayName": "EVM Transaction Explainer",
  "description": "Explains an EVM transaction in plain language: decoded intent, asset movements, approvals, and risk flags. POST /v1/tool with {tx_hash, chain_id}, or GET /v1/explain with query params, and get one JSON object with a summary, moved assets, gas, parties, and risk flags. Deterministic for identical input. Pay per request in USDC; no account, no API key.",
  "category": "blockchain",
  "resourceUrl": "https://agent.pocket.network/v1/tx-explain",
  "priceUsd": "0.005000",
  "priceVersion": 1,
  "rails": [
    {
      "id": "base",
      "network": "eip155:8453",
      "chainId": 8453,
      "tokenAddress": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "tokenDecimals": 6,
      "payToAddress": "0xF732ea490c5766071785a2310523f7fA2CEbB829"
    }
  ],
  "protocols": [
    "rest"
  ],
  "inputSchema": {
    "type": "object",
    "description": "A transaction to explain. On the MCP relay route POST /v1/tool these fields are wrapped under an `arguments` object; the direct route takes them at the top level. GET /v1/explain takes the same fields as query parameters.",
    "properties": {
      "tx_hash": {
        "type": "string",
        "description": "The transaction hash, 0x-prefixed."
      },
      "chain_id": {
        "type": "integer",
        "description": "EVM chain id (default 1)."
      }
    },
    "required": [
      "tx_hash"
    ]
  },
  "outputSchema": {
    "type": "object",
    "description": "For POST /v1/tool (and GET /v1/explain), a JSON object with a plain-language summary, moved assets, gas, parties, risk flags, and the chain_id as received. The exact shape is the service's own and is not pinned here; errors return a JSON object with an `error` field, and the GET routes return their own small JSON documents."
  },
  "methods": {
    "GET /v1/explain": "read",
    "GET /v1/health": "read",
    "GET /v1/version": "read",
    "POST /v1/tool": "read"
  },
  "firstParty": true,
  "networks": [
    "eip155:8453"
  ],
  "serving": true,
  "page": "https://agent.pocket.network/services/tx-explain",
  "descriptor": "https://agent.pocket.network/services/tx-explain/descriptor.json"
}