# EVM Transaction Lookup by Hash

> EVM Transaction Lookup by Hash is a paid API for AI agents from payai.agentstools.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Fetches full transaction details (from/to/value/nonce/gas, block info, and receipt fields) for a given transaction hash on Base, Ethereum, Arbitrum, Optimism, Polygon, or BNB Chain.

## Facts

- Endpoint: GET https://payai.agentstools.dev/tx
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/evm-transaction-lookup-by-hash-318c1937
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_c1NPsqW-RopyRaKdJOtqZ

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 evm-transaction-lookup-by-hash-318c1937
```

Example prompt: Can you look up the transaction 0x4a3b...f9e2 on Arbitrum and tell me if it succeeded, who sent it, and how much gas was used?

## When to prefer this

Use this endpoint when you need to verify or inspect a specific on-chain transaction across major EVM-compatible networks (Base, Ethereum, Arbitrum, Optimism, Polygon, BNB). Ideal for confirming payment finality, debugging failed transactions, or extracting on-chain data for a known tx hash. Prefer this over block explorers when you need structured, machine-readable output in an agent workflow.

## Known failure modes

- Invalid or malformed transaction hash (not 0x-prefixed or wrong length) — returns error
- Transaction not found on the specified network — handled with not-found response
- Pending transaction — receipt fields absent or flagged as pending
- Unsupported network string — validation error
- Network RPC timeout or connectivity issue — returns error

## How this service works

Look up a transaction by hash on Base, Ethereum, Arbitrum, Optimism, Polygon or BNB (default Base): from/to/value/nonce/gas, block, and receipt fields (status, gasUsed, logs count). Pending/not-found handled.

## Output

Returns the transaction's from/to addresses, transferred value, nonce, gas limit, block number, receipt status (success/failure), gasUsed, and number of logs. If the transaction is pending or not found, that state is handled gracefully.

## 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",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "hash"
     ],
     "properties": {
      "hash": {
       "type": "string",
       "description": "Transaction hash (0x..., 32 bytes)"
      },
      "network": {
       "enum": [
        "base",
        "ethereum",
        "arbitrum",
        "optimism",
        "polygon",
        "bnb"
       ],
       "type": "string",
       "description": "EVM network to read from (default base)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/evm-transaction-lookup-by-hash-318c1937/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from payai.agentstools.dev](https://www.zero.xyz/host/payai.agentstools.dev/llms.txt)
