# Delx Base Logs

> Delx Base Logs is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-13).

Fetches Ethereum event logs from the Base blockchain within a bounded range (≤5 blocks, ≤50 logs) via eth_getLogs for $0.002 USDC per call.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/base-logs
- 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/delx-base-logs-93c6378f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_n1o7qu32q5pNR4ui7d_xf

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 delx-base-logs-93c6378f -d '<json body>'
```

Example prompt: Fetch the last 5 blocks of Transfer event logs for the USDC contract at 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 on Base — I want to see any recent mint or transfer activity.

## When to prefer this

Choose this endpoint when you need lightweight, metered access to Base chain event logs without managing your own RPC node or paying for a full node subscription. Ideal for AI agents that need to spot-check recent on-chain activity in short block windows, verify specific events, or trigger logic based on contract events — especially when cost predictability ($0.002/call) and simplicity matter more than bulk historical access.

## Known failure modes

- Block range exceeds 5-block limit — returns an error or truncated result
- Log count exceeds 50 — response may be truncated or rejected
- Invalid contract address format — returns a validation error
- Payment failure — call rejected if $0.002 USDC x402 payment is not provided
- Base node unavailability — may return a timeout or upstream RPC error
- Invalid topic filter format — returns a parsing error

## How this service works

Bounded eth_getLogs on Base (≤5 block span, ≤50 logs) for $0.002 USDC.

## Output

Returns a list of up to 50 Ethereum-compatible event log entries from the Base chain matching the specified filter, including topics, data payload, block number, transaction hash, and log index — capped to a 5-block span per call.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "address": {
   "type": "string"
  },
  "to_block": {
   "type": "string"
  },
  "from_block": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {},
  "tool_name": "get_base_logs"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-base-logs-93c6378f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.delx.ai](https://www.zero.xyz/host/api.delx.ai/llms.txt)
