Fetch a Base mainnet block header and transaction hashes by number, tag (latest/
Fetch a Base mainnet block header and transaction hashes by number, tag (latest/earliest/safe/finalized), or hash via eth_getBlockByNumber/eth_getBlockByHash.
Answeringour last check, 2026-10-04
1 of 1checks answered this week
944 msmedian answer time
$0.003listed price per call
$0.003price 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
POST https://x402.agentindex.world/base/block
| Category | Everything else |
|---|---|
| Provider host | x402.agentindex.world |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 1 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-10-04 | valid payment request | 402 | $0.003 | 944 ms |
Example input (from the provider)
{
"body": {
"number": 0
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"properties": {
"hash": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Hash"
},
"number": {
"anyOf": [
{},
{
"type": "null"
}
],
"default": null,
"title": "Number"
}
},
"title": "BlockInput",
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST",
"PUT",
"PATCH"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"base_fee_per_gas": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Base Fee Per Gas"
},
"gas_limit": {
"title": "Gas Limit",
"type": "integer"
},
"gas_used": {
"title": "Gas Used",
"type": "integer"
},
"hash": {
"title": "Hash",
"type": "string"
},
"miner": {
"title": "Miner",
"type": "string"
},
"number": {
"title": "Number",
"type": "integer"
},
"parent_hash": {
"title": "Parent Hash",
"type": "string"
},
"timestamp": {
"title": "Timestamp",
"type": "integer"
},
"transaction_count": {
"title": "Transaction Count",
"type": "integer"
},
"transaction_hashes": {
"items": {
"type": "string"
},
"title": "Transaction Hashes",
"type": "array"
}
},
"required": [
"number",
"hash",
"parent_hash",
"timestamp",
"miner",
"gas_used",
"gas_limit",
"transaction_count",
"transaction_hashes"
],
"title": "BlockOutput",
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}