← Back to directory

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

https://api.macaroonnetwork.com/execute/block-number-v1

Overview

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.

Protocol x402 (POST)
Price $0.0010
Payment Asset USD Coin
Payment Network eip155:8453
Category uncategorized
Provider Macaroon Network
Source bazaar
Indexed 2026-11-16 11:08:23

Health

Status unknown
Latency (p50) —
Uptime (30d) —
Reliability Score —
Last Checked Never
Last Healthy Never
Consecutive Failures 0

x402 Payment Validation

Payment Requirements —
Asset Verified —
Facilitator —

Input Schema

{ "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" }

Output Schema

{ "example": { "payload": { "block_hash": "", "block_number": 0, "block_timestamp": "", "chain": "", "chain_id": 0, "provenance": { "methods": "", "rpc_host": "", "runtime_outbound_network_used": false, "source": "" }, "retrieved_at": "" }, "predicate_passed": true, "settled": true }, "type": "json" }