# DopamineDesk EVM Block Lookup

> DopamineDesk EVM Block Lookup is a paid API for AI agents from ai-data-marketplace-1042299154756.us-central1.run.app, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-13).

Fetches block metadata (hash, number, transaction count, and transaction hashes) for a specified block on Base, Ethereum, or Arbitrum.

## Facts

- Endpoint: GET https://ai-data-marketplace-1042299154756.us-central1.run.app/api/v1/evm_block
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/dopaminedesk-evm-block-lookup-4ccbd14e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8Lz8wF0YM5q-_GtGkZkde

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 dopaminedesk-evm-block-lookup-4ccbd14e
```

Example prompt: What are the details of the latest block on Base — give me the block number, hash, and how many transactions it contains?

## When to prefer this

Choose this endpoint when you need lightweight, pay-per-call EVM block metadata across Base, Ethereum, or Arbitrum without managing your own RPC node. It is ideal for agents performing on-chain verification, block confirmation checks, or transaction audits at low cost ($0.002 USDC per call) with no infrastructure setup required.

## Known failure modes

- Invalid or non-existent block number returns an error or empty result
- Unsupported chain name returns a validation error
- Block hash not found on the specified chain returns failure
- Transaction limit out of range (>500) causes a parameter validation error
- Payment failure via x402 results in 402 response before data is returned

## How this service works

Retrieve a live EVM block header and a bounded list of real transaction hashes by height, tag, or block hash.

## Output

Returns a JSON object containing success status, network name, and a block object with the block number (as a string), block hash (hex), total transaction count, a list of transaction hashes (up to the specified limit), and a flag indicating if the transaction list was truncated.

## 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",
     "properties": {
      "block": {
       "type": "string",
       "description": "Block tag, decimal height, or canonical hex quantity. Defaults to latest."
      },
      "chain": {
       "type": "string",
       "description": "base, ethereum, or arbitrum; defaults to base."
      },
      "block_hash": {
       "type": "string",
       "description": "Optional 32-byte block hash. Takes precedence over block."
      },
      "transaction_limit": {
       "type": "integer",
       "description": "Maximum transaction hashes returned, from 0 to 500; defaults to 250."
      }
     },
     "additionalProperties": true
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "success",
      "network",
      "block"
     ],
     "properties": {
      "block": {
       "type": "object",
       "required": [
        "number",
        "hash",
        "transaction_count",
        "transactions_truncated"
       ],
       "properties": {
        "hash": {
         "type": "string"
        },
        "number": {
         "type": "string"
        },
        "transaction_count": {
         "type": "integer"
        },
        "transactions_truncated": {
         "type": "boolean"
        }
       },
       "additionalProperties": true
      },
      "network": {
       "type": "string"
      },
      "success": {
       "type": "boolean"
      }
     },
     "additionalProperties": true
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "block": {
   "hash": "0x...",
   "number": "33752215",
   "transaction_count": 184,
   "transactions_truncated": false
  },
  "network": "base",
  "success": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/dopaminedesk-evm-block-lookup-4ccbd14e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from ai-data-marketplace-1042299154756.us-central1.run.app](https://www.zero.xyz/host/ai-data-marketplace-1042299154756.us-central1.run.app/llms.txt)
