# x402 Agent Hub – EVM Transaction Status

> x402 Agent Hub – EVM Transaction Status is a paid API for AI agents from x402-agent-hub.x402-agent-hub.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-11-14).

Fetches the status, confirmations, block metadata, and all-in fee for a transaction hash on any of 7 supported EVM chains

## Facts

- Endpoint: GET https://x402-agent-hub.x402-agent-hub.workers.dev/v1/chain/tx?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-agent-hub-evm-transaction-status-39a8f150
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_sgF1m1hqJzrksligmkXuX

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 x402-agent-hub-evm-transaction-status-39a8f150
```

Example prompt: Can you check whether transaction 0x4f9955a6481d1386b261c3a9e68bc385df78d40190fe8cef895942283e33d985 on Base succeeded, and tell me how many confirmations it has and the total fee paid?

## When to prefer this

Use this endpoint when you need a single, unified API to check transaction status, fee data (including OP-stack L1 fees on Base/Optimism), and confirmation counts across 7 EVM chains without running your own RPC nodes. Ideal for payment confirmation workflows, deployment verification, and on-chain accounting reconciliation. Prefer it over raw RPC calls when you want pre-formatted values, chain abstraction, and pay-per-successful-read pricing.

## Known failure modes

- Invalid or malformed transaction hash returns an error and cancels settlement
- Transaction not found on the specified chain returns not-found error with no charge
- Unsupported chain identifier returns validation error
- Upstream RPC node unavailability cancels settlement with no charge
- Transaction still pending may return pending status with zero confirmations

## How this service works

Status of any transaction on 7 EVM chains: pending / success / reverted, confirmations, block time, from/to, value and the all-in fee (including the OP-stack L1 data fee on Base and Optimism). Use it to confirm a payment or deployment landed. You only pay for successful reads: invalid input, not-found and upstream errors cancel settlement.

## Output

A JSON object containing the transaction hash, chain name and chain ID, status (pending/success/reverted), from and to addresses, ETH value (raw and formatted), all-in fee (raw and formatted, including OP-stack L1 data fee where applicable), block number, UTC timestamp, and number of confirmations.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "hash"
     ],
     "properties": {
      "hash": {
       "type": "string",
       "description": "0x-prefixed 32-byte transaction hash."
      },
      "chain": {
       "type": "string",
       "description": "base (default), ethereum, arbitrum, optimism, polygon, bsc or avalanche. Chain IDs also accepted."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "to": "0xcb1838c233d5dc4cc1942312c066474d1186790d",
  "fee": {
   "raw": "21064060127140",
   "symbol": "ETH",
   "decimals": 18,
   "formatted": "0.00002106406012714"
  },
  "from": "0xc1a86592ec35568a99046378e2d849b03acc74d6",
  "hash": "0x4f9955a6481d1386b261c3a9e68bc385df78d40190fe8cef895942283e33d985",
  "chain": "base",
  "value": {
   "raw": "5000000000000000",
   "symbol": "ETH",
   "decimals": 18,
   "formatted": "0.005"
  },
  "status": "success",
  "chainId": 8453,
  "blockNumber": 30000000,
  "timestampUtc": "2025-05-09T11:15:47.000Z",
  "confirmations": 23303683
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-agent-hub-evm-transaction-status-39a8f150/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-agent-hub.x402-agent-hub.workers.dev](https://www.zero.xyz/host/x402-agent-hub.x402-agent-hub.workers.dev/llms.txt)
