{"slug":"agent-commerce-factory-jm-austriaeast-cloudapp-azure-com-v1-1c810f","title":"Fetch an EVM block (latest or by number)","host":"agent-commerce-factory-jm.austriaeast.cloudapp.azure.com","method":"POST","resource":"https://agent-commerce-factory-jm.austriaeast.cloudapp.azure.com/v1/onchain/block","category":"market","description":"Fetch an EVM block (latest or by number). Given a chain and an optional block number returns block number, hash, parent hash, timestamp, transaction count, gas used/limit, base fee and miner. Omit the number for the current block height. For indexers, chain-tip monitoring, finality-tracking and bloc","price_listed":0.001,"price_asked":0.001,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":893,"reported_calls_30d":3,"reported_payers_30d":3,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"chain":"ethereum"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{"block":{"description":"Block number; omit for the latest block.","minimum":0,"type":"integer"},"chain":{"default":"ethereum","description":"EVM chain (ethereum, base, arbitrum, optimism, polygon, bsc).","type":"string"}},"required":[],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"properties":{"block":{"properties":{"baseFeePerGasWei":{"type":["string","null"]},"chain":{"type":["string","null"]},"gasLimit":{"type":["string","null"]},"gasUsed":{"type":["string","null"]},"hash":{"type":["string","null"]},"miner":{"type":["string","null"]},"number":{"type":["integer","null"]},"parentHash":{"type":["string","null"]},"timestamp":{"type":["string","null"]},"timestampUnix":{"type":["integer","null"]},"txCount":{"type":["integer","null"]}},"type":"object"},"chain":{"type":"string"},"economics":{"properties":{"sellPriceUsd":{"type":"number"},"upstreamCostUsdActual":{"type":["number","null"]}},"type":"object"},"machine":{"type":"string"},"route":{"type":"string"}},"required":["machine","route","block"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-09-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.001,"price_match":true,"latency_ms":893,"error":null}],"description_full":"Fetch an EVM block (latest or by number). Given a chain and an optional block number returns block number, hash, parent hash, timestamp, transaction count, gas used/limit, base fee and miner. Omit the number for the current block height. For indexers, chain-tip monitoring, finality-tracking and block-explorer agents.","last_updated":"2026-09-17T04:04:02.541Z","schemes":["exact"]}