# P0 Agent Economy Index – EVM Transaction Lookup

> P0 Agent Economy Index – EVM Transaction Lookup is a paid API for AI agents from x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-20).

Fetches on-chain EVM transaction details (fields, calldata, gas, confirmations) for a given transaction hash from a public node, across Ethereum, Base, Arbitrum, Polygon, or Optimism.

## Facts

- Endpoint: GET https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/evm/tx?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/p0-agent-economy-index-evm-transaction-lookup-88719b8a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xH6EYy2nfSnOLOUcRzdaq

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 p0-agent-economy-index-evm-transaction-lookup-88719b8a
```

Example prompt: Look up the transaction 0xa0dbae3236a486c4f7285206f416694bba403f95969dfa3d94a28e8f2538d9fd on Base and tell me who sent it, how much value was transferred in wei, whether it's confirmed, and what the first 4 bytes of calldata are.

## When to prefer this

Use this endpoint when you need a direct, uncached read of a single EVM transaction's raw on-chain data — including calldata, gas parameters, and confirmation count — across Ethereum, Base, Arbitrum, Polygon, or Optimism, without needing USD pricing or token interpretation. It is a good fit for verifying payment receipts, inspecting contract call inputs, or checking confirmation depth.

## Known failure modes

- Invalid or malformed transaction hash returns a validation error
- Transaction hash not found on the specified chain returns null fields and errors array entries
- Unsupported chain value returns a schema validation error
- Public node downtime or rate-limiting may yield partial responses with populated errors array
- Pending transactions return null for block_number and confirmations

## How this service works

An open index of the machine-to-machine (agent) economy. x402 routes: ranked discovery over the live x402 service market, every indexed service scored by real 30-day calls and paying-wallet bounds, with a receipt naming the snapshot hash and scoring revision. /economy routes, for Tempo MPP, Virtuals ACP, Olas, Masumi, ERC-8004 agent registries, Solana agent registries, Base agent contracts and MCP servers (Official MCP Registry): each protocol's published figures (agent or server counts, transactions or payment events; payers and USD volume only where the source publishes them: payers for x402 and Tempo MPP, USD volume for x402 and Virtuals ACP), each with its unit, window and source; units differ, so totals are not summed. L402 and per-service MPP listings are not covered.

## Output

A JSON object containing the transaction's chain, chain ID, latest block at query time, sender, recipient, wei value, gas limit, gas price, max fee per gas, max priority fee per gas, nonce, transaction type, block number, confirmations, transaction index, first 1 KB of calldata, calldata byte length, method ID, pending status, the public node that answered, ISO timestamp of the reply, and an errors array listing any fields the node did not return.

## 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",
      "HEAD"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "hash"
     ],
     "properties": {
      "hash": {
       "type": "string",
       "pattern": "^0x[0-9a-fA-F]{64}$",
       "description": "Transaction hash (0x + 64 hex)"
      },
      "chain": {
       "enum": [
        "ethereum",
        "base",
        "arbitrum",
        "polygon",
        "optimism"
       ],
       "type": "string",
       "default": "base",
       "description": "Chain; default base"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "chain",
      "chainId",
      "block",
      "as_of",
      "errors",
      "note",
      "hash",
      "from",
      "value_wei",
      "pending"
     ],
     "properties": {
      "to": {
       "type": [
        "string",
        "null"
       ]
      },
      "gas": {
       "type": [
        "string",
        "null"
       ]
      },
      "from": {
       "type": [
        "string",
        "null"
       ]
      },
      "hash": {
       "type": "string"
      },
      "note": {
       "type": "string",
       "description": "Fixed text: read from a public node, no USD prices"
      },
      "type": {
       "type": [
        "integer",
        "null"
       ]
      },
      "as_of": {
       "type": "string",
       "description": "ISO 8601 UTC time of the reply"
      },
      "block": {
       "type": [
        "integer",
        "null"
       ],
       "description": "Latest block at the node when it answered"
      },
      "chain": {
       "enum": [
        "ethereum",
        "base",
        "arbitrum",
        "polygon",
        "optimism"
       ],
       "type": "string",
       "description": "Chain key"
      },
      "input": {
       "type": "string",
       "description": "Calldata hex, first 1 KB"
      },
      "nonce": {
       "type": [
        "integer",
        "null"
       ]
      },
      "value": {
       "type":
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "to": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
  "gas": "60000",
  "from": "0x4cad6ec90e65babec9335cad728ddc610c316368",
  "hash": "0xa0dbae3236a486c4f7285206f416694bba403f95969dfa3d94a28e8f2538d9fd",
  "note": "Read directly from a public node at the block shown; nothing is cached, estimated or priced in USD. A field the node did not return is null and named in errors.",
  "type": 2,
  "as_of": "2026-10-19T12:00:00.000Z",
  "block": 52207800,
  "chain": "base",
  "input": "0xa9059cbb00000000000000000000000017192bd2e8893e4ea0ab5db67adbf38ae42e9931000000000000000000000000000000000000000000000000000000000000353f",
  "nonce": 41,
  "value": "0",
  "errors": [],
  "source": "base.drpc.org",
  "chainId": 8453,
  "pending": false,
  "method_id": "0xa9059cbb",
  "value_wei": "0",
  "input_bytes": 68,
  "block_number": 52207700,
  "confirmations": 101,
  "gas_price_wei": "10000000",
  "input_truncated": false,
  "transaction_index": 12,
  "max_fee_per_gas_wei": "20000000",
  "max_priority_fee_per_gas_wei": "1000000"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/p0-agent-economy-index-evm-transaction-lookup-88719b8a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev](https://www.zero.xyz/host/x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/llms.txt)
