ToolAssay

Current block height of Base or Ethereum mainnet with the block hash and timesta

Current block height of Base or Ethereum mainnet with the block hash and timestamp, read live from public JSON-RPC after checking the endpoint's chain id. One cheap call for agents that need a fresh chain tip.

Answeringour last check, 2026-11-26
7 of 7checks answered this week
332 msmedian answer time
$0.001listed price per call
$0.001price 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://api.macaroonnetwork.com/execute/block-number-v1

CategoryCode and developer
Provider hostapi.macaroonnetwork.com
Networkseip155:8453
Payment schemesexact
Self-reported calls, 30 days8 from 2 payers (the provider's figure, not ours)

Our checks, last 30 days

DayResultHTTPAskedTime
2026-11-26 valid payment request 402$0.001 332 ms
2026-11-25 valid payment request 402$0.001 331 ms
2026-11-24 valid payment request 402$0.001 328 ms
2026-11-23 valid payment request 402$0.001 324 ms
2026-11-22 valid payment request 402$0.001 336 ms
2026-11-21 valid payment request 402$0.001 338 ms
2026-11-20 valid payment request 402$0.001 332 ms
2026-11-19 valid payment request 402$0.001 359 ms
2026-11-18 valid payment request 402$0.001 335 ms
2026-11-17 valid payment request 402$0.001 334 ms
2026-11-16 valid payment request 402$0.001 338 ms

Example input (from the provider)

{
  "body": {
    "input": {
      "chain": "base"
    },
    "predicate": {
      "conditions": [
        {
          "field": "$.chain_id",
          "operator": "in",
          "type": "field_changed",
          "value": [
            8453,
            1
          ]
        },
        {
          "field": "$.block_number",
          "operator": "gte",
          "type": "field_changed",
          "value": 1
        },
        {
          "field": "$.block_hash",
          "type": "count_gte",
          "value": 1
        },
        {
          "duration_hours": 1,
          "field": "$.block_timestamp",
          "type": "within"
        },
        {
          "duration_hours": 1,
          "field": "$.retrieved_at",
          "type": "within"
        }
      ],
      "type": "all"
    }
  },
  "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": {
          "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": {
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}

This page as JSON