# AgenticFi Transaction Summary

> AgenticFi Transaction Summary is a paid API for AI agents from defi-api.agenticfi.wtf, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Fetches a human-readable summary of an on-chain transaction given its hash, including decoded actions, token flows, and context.

## Facts

- Endpoint: GET https://defi-api.agenticfi.wtf/api/agent/tx-summary/%7BtxHash%7D
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agenticfi-transaction-summary-3b1817ea
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_h6I-AL8xGAkkVx1FQmlZE

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 agenticfi-transaction-summary-3b1817ea
```

Example prompt: Can you summarize what happened in this Ethereum transaction — 0x3a1b2c4d5e6f7890abcdef1234567890abcdef1234567890abcdef1234567890ab — on Base? I want to know what tokens moved and what actions were taken.

## When to prefer this

Use this endpoint when you need to explain or decode what a specific on-chain transaction did — especially for DeFi interactions like swaps, liquidity events, or token transfers — and you have a transaction hash. Prefer over generic block explorers when you need structured, agent-consumable output rather than raw blockchain data.

## Known failure modes

- Invalid or malformed transaction hash returns 400 error
- Transaction not found on the specified chain returns 404
- Chain parameter mismatch — hash exists on Ethereum but base was specified
- Rate limiting or payment failure via x402 returns 402
- Node RPC timeout for very recent or pending transactions

## How this service works

DeFi APIs for AI agents. 36 pay-per-call endpoints for token data, pricing, wallet analytics, swap routing, and on-chain workflows. Powered by x402 on Base.

## Output

A decoded, human-readable summary of the transaction including involved addresses, token flows, swap routes, protocol interactions, and any relevant on-chain events for the given tx hash and chain.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "pathParams",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object",
     "required": [
      "txHash"
     ],
     "properties": {
      "txHash": {
       "type": "string",
       "title": "txHash (required)",
       "description": "Required. Transaction hash Examples: 0x1111111111111111111111111111111111111111111111111111111111111111, 0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
      }
     }
    },
    "queryParams": {
     "type": "object",
     "required": [
      "txHash"
     ],
     "properties": {
      "chain": {
       "type": "string",
       "title": "chain (optional)",
       "description": "Optional. Chain name Examples: base, ethereum, arbitrum"
      },
      "txHash": {
       "type": "string",
       "title": "txHash (required)",
       "description": "Required. Transaction hash Examples: 0x1111111111111111111111111111111111111111111111111111111111111111, 0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agenticfi-transaction-summary-3b1817ea/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from defi-api.agenticfi.wtf](https://www.zero.xyz/host/defi-api.agenticfi.wtf/llms.txt)
