# Gnosis ETH getLogs

> Gnosis ETH getLogs is a paid API for AI agents from ari001.tailb4ac3a.ts.net, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-20).

Fetches event logs emitted by a specific contract on Gnosis Chain over the last N blocks using eth_getLogs

## Facts

- Endpoint: GET https://ari001.tailb4ac3a.ts.net/v1/ventures/gnosis_chain_rpc_api/gnosis_eth_getlogs?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/gnosis-eth-getlogs-a16615ea
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4qpu466SogpXCzV3KZypg

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 gnosis-eth-getlogs-a16615ea
```

Example prompt: Can you pull the last 20 blocks of event logs for the Gnosis Chain contract at 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48, filtering for Transfer events with topic0 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef?

## When to prefer this

Use this endpoint when you need raw event logs from a specific contract on Gnosis Chain (xDai), not Ethereum mainnet. Choose it over Ethereum-mainnet getLogs endpoints when your contract is deployed on Gnosis. It is ideal for reading DeFi events, ERC-20 transfers, governance votes, or any custom contract events in a lightweight lookback window of 1–100 blocks without running your own Gnosis node.

## Known failure modes

- Invalid contract address format (not 0x + 40 hex) returns validation error
- Invalid topic0 format (not 0x + 64 hex) returns validation error
- blocks parameter out of range (>100 or <1) returns validation error
- Contract has no logs in requested block range — returns empty logs array with count 0
- RPC node unavailable or timeout — returns ok: false with error message
- More than 200 logs truncated — truncated flag set to true

## How this service works

Returns the event logs one contract emitted on Gnosis Chain over the last N blocks, read with eth_getLogs. Takes address (contract, 0x + 40 hex), optional topic0 (event signature hash, 0x + 64 hex) and optional blocks (1-100, default 10). Query: address (contract, 0x + 40 hex), topic0 (optional event signature hash, 0x + 64 hex), blocks (optional, last N blocks, 1-100 (default 10)).

## Output

Returns a JSON object with an array of up to 200 event logs (each containing topics, data, block number, transaction hash, and log index), total log count, from_block and to_block range, and a truncated flag indicating if the result was capped. On error, an error string is included and ok is false.

## 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": [
      "address"
     ],
     "properties": {
      "blocks": {
       "type": "string",
       "pattern": "^[0-9]{1,3}$",
       "description": "optional, last N blocks, 1-100 (default 10)"
      },
      "topic0": {
       "type": "string",
       "pattern": "^0x[a-fA-F0-9]{64}$",
       "description": "optional event signature hash, 0x + 64 hex"
      },
      "address": {
       "type": "string",
       "pattern": "^0x[a-fA-F0-9]{40}$",
       "description": "contract, 0x + 40 hex"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "ok",
      "service"
     ],
     "properties": {
      "ok": {
       "type": "boolean"
      },
      "chain": {
       "type": "string"
      },
      "error": {
       "type": "string",
       "description": "present when ok is false"
      },
      "method": {
       "type": "string"
      },
      "result": {
       "type": "object",
       "properties": {
        "logs": {
         "type": "array",
         "maxItems": 200
        },
        "count": {
         "type": "integer"
        },
        "to_block": {
         "type": "integer"
        },
        "truncated": {
         "type": "boolean"
        },
        "from_block": {
         "type": "integer"
        }
       }
      },
      "service": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/gnosis-eth-getlogs-a16615ea/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from ari001.tailb4ac3a.ts.net](https://www.zero.xyz/host/ari001.tailb4ac3a.ts.net/llms.txt)
