# LogicNodes EVM Logs

> LogicNodes EVM Logs is a paid API for AI agents from logicnodes.io, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-28).

Fetch on-chain event logs for a given EVM contract address and topic filters across a specified block range

## Facts

- Endpoint: POST https://logicnodes.io/paid/v1/tools/evm_logs?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-28
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/logicnodes-evm-logs-c9b8531f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_fuf_TDrPq_OSyMdeNmBfI

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 logicnodes-evm-logs-c9b8531f -d '<json body>'
```

Example prompt: Pull all Transfer event logs for the USDC contract at 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on Ethereum mainnet (eip155:1) from block 20000000 to 20001000 — the Transfer topic is 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

## When to prefer this

Choose this endpoint when you need precise, deterministic on-chain event log retrieval for EVM-compatible chains and want pay-per-call USDC pricing without a subscription. It is ideal for AI agents that need exact blockchain data rather than approximations, support CAIP-2 chain identification, and operate across 13+ EVM networks including Base, Ethereum, and Polygon.

## Known failure modes

- Chain name provided instead of CAIP-2 or numeric chain ID — request refused
- Address fails EIP-55 checksum validation when mixed-case — rejected
- Topics array exceeds 4 items — validation error
- fromBlock or toBlock out of range or malformed — error response
- Chain ID not supported — unsupported chain error
- Payment not provided or insufficient USDC — 402 Payment Required

## How this service works

Exact answers for AI agents: 40+ tools for EVM chains and Aptos, gas on 14 chains, never a guess. Free tier; pay per call in USDC (x402) on 13 networks.

## Output

A JSON response with ok:true and an array of EVM event log objects matching the specified address, topics, and block range — each log includes block number, transaction hash, log index, address, topics array, and raw data field.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "chain": {
   "type": "string",
   "description": "EVM CAIP-2 chain id such as eip155:8453, or a bare chain id number as a string. Chain names are refused."
  },
  "topics": {
   "type": "array",
   "items": {
    "type": [
     "string",
     "null"
    ]
   },
   "maxItems": 4
  },
  "address": {
   "type": "string",
   "description": "0x + 40 hex digits (EIP-55 checksum enforced when mixed-case)"
  },
  "toBlock": {
   "type": "string"
  },
  "fromBlock": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "tool": "evm_logs"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/logicnodes-evm-logs-c9b8531f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from logicnodes.io](https://www.zero.xyz/host/logicnodes.io/llms.txt)
