Smart contract event logs on Base mainnet (Base contract events) via eth_getLogs - filt…
Smart contract event logs on Base mainnet (Base contract events) via eth_getLogs - filter by contract address and up to 4 topics, up to 2,000 blocks, raw logs with topics, data, block and tx hash.
by x402.agentindex.world · discovered, not yet claimed by its owner · updated 2026-10-10
Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.
What it does
Smart contract event logs on Base mainnet (Base contract events) via eth_getLogs - filter by contract address and up to 4 topics, up to 2,000 blocks, raw logs with topics, data, block and tx hash.
Tags: base rpc · event logs base · eth_getLogs · filter logs · base mainnet · bazaar
Call contract
- Method
- POST
- Input
- json
- Output
- json
- Last paid call
- 2026-10-10
{
"address": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"from_block": 52118214,
"to_block": 52118214,
"topics": [
"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef"
]
}{
"address": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"from_block": 52118214,
"logs": [
{
"address": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
"block_number": 52118214,
"data": "0x00000000000000000000000000000000000000000000000000000000000003e8",
"log_index": 234,
"topics": [
"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
"0x0000000000000000000000003cedc3cba49c3809ee46b9bf60da75d6607b45ec",
"0x000000000000000000000000b3f32bdfe8d07825bc0d7387295ab1d7559ba69d"
],
"transaction_hash": "0xc2490a8a0aedd1196617a0e52111f82d6059986db7f1713ab23221c91c42f5c4"
}
],
"to_block": 52118214,
"topics": [
"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef"
]
}Use with an agent
- Discover. Agents find this listing with
GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP toolsearch_resources, or/discovery/resources. - Inspect. Fetch
/resources/33911.jsonfor the price and payment options. - Pay. Call
GET https://x402.agentindex.world/base/events. The provider answers402with its payment requirements. An x402 client signs one of the options below and retries withPAYMENT-SIGNATURE. - Execute. The provider returns
200with the data. Agent Bazaar is not in the request path and never sees your payment.
For humans
You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.
Pricing & payment
- Price
- $0.005 / request
- Protocol
- x402 v2
- Auth
- No account or API key. Pay per request.
- Networks
- Base
- Demand
- 2 calls · 2 unique payers in 30d (public x402 Bazaar data)
x402 payment requirements
| Scheme | Network | Asset | Amount | Pay to | Timeout |
|---|---|---|---|---|---|
| exact | Base eip155:8453 | USDC | $0.005 | 0xb3F32bdfe8D07825BC0D7387295aB1D7559BA69d | 300s |
accepts[] (raw JSON)
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0xb3F32bdfe8D07825BC0D7387295aB1D7559BA69d",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "5000",
"amountUsd": 0.005,
"maxTimeoutSeconds": 300
}
]Schemas
Output schema (JSON Schema)
{
"properties": {
"example": {
"properties": {
"address": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Address"
},
"from_block": {
"title": "From Block",
"type": "integer"
},
"logs": {
"items": {
"properties": {
"address": {
"title": "Address",
"type": "string"
},
"block_number": {
"title": "Block Number",
"type": "integer"
},
"data": {
"title": "Data",
"type": "string"
},
"log_index": {
"title": "Log Index",
"type": "integer"
},
"topics": {
"items": {
"type": "string"
},
"title": "Topics",
"type": "array"
},
"transaction_hash": {
"title": "Transaction Hash",
"type": "string"
}
},
"required": [
"address",
"topics",
"data",
"block_number",
"transaction_hash",
"log_index"
],
"title": "LogEntry",
"type": "object"
},
"title": "Logs",
"type": "array"
},
"to_block": {
"title": "To Block",
"type": "integer"
},
"topics": {
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"title": "Topics",
"type": "array"
}
},
"required": [
"address",
"topics",
"from_block",
"to_block",
"logs"
],
"title": "EventsOutput",
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}Example shape — generated from the schema, not a captured live response
{
"example": {
"address": null,
"from_block": 0,
"logs": [
{
"address": "string",
"block_number": 0,
"data": "string",
"log_index": 0,
"topics": [
"string"
],
"transaction_hash": "string"
}
],
"to_block": 0,
"topics": [
"value"
]
},
"type": "string"
}Examples
curl "https://x402.agentindex.world/base/events"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paidconst res = await fetch("https://x402.agentindex.world/base/events");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}import httpx
res = httpx.get("https://x402.agentindex.world/base/events")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerDetails
- Provider
- x402.agentindex.world
- Endpoint
- https://x402.agentindex.world/base/events
- Machine-readable
/resources/33911.json