{"slug":"api-macaroonnetwork-com-execute-block-number-v1-1cc4b2","title":"Current block height of Base or Ethereum mainnet with the block hash and timesta","host":"api.macaroonnetwork.com","method":"POST","resource":"https://api.macaroonnetwork.com/execute/block-number-v1","category":"code","description":"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.","price_listed":0.001,"price_asked":0.001,"state":"answering","state_label":"Answering","checks_7d":7,"answered_7d":7,"latency_ms_median":332,"reported_calls_30d":8,"reported_payers_30d":2,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"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":{"$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"},"history":[{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.001,"price_match":true,"latency_ms":332,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.001,"price_match":true,"latency_ms":331,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.001,"price_match":true,"latency_ms":328,"error":null},{"day":"2026-11-23","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.001,"price_match":true,"latency_ms":324,"error":null},{"day":"2026-11-22","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.001,"price_match":true,"latency_ms":336,"error":null},{"day":"2026-11-21","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.001,"price_match":true,"latency_ms":338,"error":null},{"day":"2026-11-20","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.001,"price_match":true,"latency_ms":332,"error":null},{"day":"2026-11-19","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.001,"price_match":true,"latency_ms":359,"error":null},{"day":"2026-11-18","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.001,"price_match":true,"latency_ms":335,"error":null},{"day":"2026-11-17","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.001,"price_match":true,"latency_ms":334,"error":null},{"day":"2026-11-16","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.001,"price_match":true,"latency_ms":338,"error":null}],"description_full":"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.","last_updated":"2026-11-22T07:59:50.608Z","schemes":["exact"]}