Query Ethereum contract event logs via eth_getLogs
Query Ethereum contract event logs via eth_getLogs - filter by contract, topic, and block range
Answeringour last check, 2026-09-24
1 of 1checks answered this week
788 msmedian answer time
$0.005listed price per call
$0.005price it asked us
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
GET https://api.onesource.io/api/chain/events
| Category | Market data |
|---|---|
| Provider host | api.onesource.io |
| Networks | eip155:8453 |
| Payment schemes | batch-settlement, exact |
| Self-reported calls, 30 days | 423 from 422 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-09-24 | valid payment request | 402 | $0.005 | 788 ms |
Example input (from the provider)
{
"method": "GET",
"queryParams": {
"contract": "0xdac17f958d2ee523a2206206994597c13d831ec7",
"network": "ethereum"
},
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET",
"HEAD",
"DELETE"
],
"type": "string"
},
"queryParams": {
"properties": {
"contract": {
"pattern": "^0x[a-fA-F0-9]{40}$",
"type": "string"
},
"from_block": {
"oneOf": [
{
"minimum": 0,
"type": "integer"
},
{
"enum": [
"latest",
"pending",
"earliest",
"safe",
"finalized"
],
"type": "string"
},
{
"pattern": "^0[xX][a-fA-F0-9]+$",
"type": "string"
}
]
},
"network": {
"default": "ethereum",
"enum": [
"ethereum",
"sepolia",
"robinhood"
],
"type": "string"
},
"to_block": {
"oneOf": [
{
"minimum": 0,
"type": "integer"
},
{
"enum": [
"latest",
"pending",
"earliest",
"safe",
"finalized"
],
"type": "string"
},
{
"pattern": "^0[xX][a-fA-F0-9]+$",
"type": "string"
}
]
},
"topic": {
"pattern": "^0x[a-fA-F0-9]{64}$",
"type": "string"
}
},
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"data": {
"description": "Endpoint-specific response payload",
"properties": {
"count": {
"type": "integer"
},
"from_block": {
"type": "string"
},
"logs": {
"items": {
"properties": {
"address": {
"type": "string"
},
"blockNumber": {
"type": "string"
},
"data": {
"type": "string"
},
"logIndex": {
"type": "string"
},
"topics": {
"items": {
"type": "string"
},
"type": "array"
},
"transactionHash": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"to_block": {
"type": "string"
}
},
"type": "object"
},
"error": {
"properties": {
"code": {
"type": "integer"
},
"message": {
"type": "string"
}
},
"type": [
"object",
"null"
]
},
"meta": {
"properties": {
"cost_usdc": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"payment_chain": {
"type": "string"
},
"payment_token": {
"type": "string"
},
"request_id": {
"type": "string"
}
},
"required": [
"endpoint",
"request_id"
],
"type": "object"
}
},
"required": [
"data",
"meta"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}