{"partialResults":false,"resources":[{"accepts":[{"amount":"1000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2"},"maxTimeoutSeconds":120,"network":"eip155:8453","payTo":"0x7BFaBAE4E0103B84298Ecf5ee88141219862d745","scheme":"exact"}],"description":"Use when an agent must map a date or unix time to an on-chain block, e.g. before reading balances or logs at that moment: returns the last block whose timestamp is at or before the given time (binary search over RPC headers), with its timestamp and hash. Read-only, Ethereum (default) or Base.","extensions":{"bazaar":{"info":{"input":{"method":"GET","queryParams":{"network":"ethereum","timestamp":"1735689600"},"type":"http"},"output":{"example":{"data":{"block_hash":"0x0532dc699467b083b2423d1f5d4951c7e7f4b5340cff470f10b8305a6d49e50b","block_number":21525890,"block_timestamp":1735689599,"head_block":26527721,"network":"ethereum","requested_timestamp":1735689600,"source":"RPC eth_getBlockByNumber (binary search)"},"meta":{"cost_usdc":"0.001","endpoint":"/api/chain/block-by-time","payment_chain":"base","payment_token":"USDC","related":[{"price_usdc":"0.002","url":"https://api.zato.org/api/chain/pending"},{"price_usdc":"0.002","url":"https://api.zato.org/api/chain/block-activity"},{"price_usdc":"0.001","url":"https://api.zato.org/api/chain/block-eta"},{"price_usdc":"0.003","url":"https://api.zato.org/api/ask"}]}},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"properties":{"network":{"description":"ethereum (default) or base","type":"string"},"timestamp":{"description":"unix time in seconds, e.g. 1735689600","type":"string"}},"required":["timestamp"],"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"properties":{"data":{"properties":{"block_hash":{"type":"string"},"block_number":{"type":"integer"},"block_timestamp":{"type":"integer"},"head_block":{"type":"integer"},"network":{"type":"string"},"requested_timestamp":{"type":"integer"},"source":{"type":"string"}},"type":"object"},"meta":{"type":"object"}},"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"}}},"iconUrl":"https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1795137293/bazaar-icons/796d9cc09a94cd9a.png","lastUpdated":"2026-12-01T09:07:27.224Z","quality":{"l30DaysTotalCalls":1,"l30DaysUniquePayers":1,"lastCalledAt":"2026-12-01T09:07:27.032Z"},"resource":"https://api.zato.org/api/chain/block-by-time","serviceName":"Block Data","tags":["block number","latest block","block explorer","block","timestamp"],"type":"http","x402Version":2}],"searchMethod":"text","x402Version":2,"meta":{"searchToken":"dyaolo5t7pdhgaa"}}
