{"slug":"agent-data-tools-revmesh2074-workers-dev-zksync-gas-history-42295e","title":"Gas history, zkSync gas price","host":"agent-data-tools.revmesh2074.workers.dev","method":"GET","resource":"https://agent-data-tools.revmesh2074.workers.dev/zksync/gas-history","category":"market","description":"Gas history, zkSync gas price. Gas price history on zkSync Era (eth_feeHistory): base fee in gwei for each of the last N blocks (5-100, default 20), how full each block was, and the 10th, 50th and 90th percentile priority fees, with the low, average and high base fee over the window. Use to judge wh","price_listed":0.01,"price_asked":0.01,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":43,"reported_calls_30d":0,"reported_payers_30d":0,"networks":["eip155:137","eip155:42161","eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"blocks":20},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"queryParams":{"properties":{"blocks":{"description":"How many recent blocks, 5-100 (default 20)","examples":[20],"type":"integer"}},"required":[],"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"properties":{"baseFeeGwei":{"properties":{"average":{"type":"number"},"high":{"type":"number"},"latest":{"type":"number"},"low":{"type":"number"},"next":{"type":"number"}},"type":"object"},"blocks":{"type":"number"},"chain":{"type":"string"},"chainId":{"type":"number"},"fromBlock":{"type":"number"},"history":{"items":{"properties":{"baseFeeGwei":{"type":"number"},"block":{"type":"number"},"gasUsedRatio":{"type":"number"},"priorityFeeGwei":{"items":{"type":"number"},"type":"array"}},"type":"object"},"type":"array"},"priorityFeeGwei":{"properties":{"p10":{"type":"number"},"p50":{"type":"number"},"p90":{"type":"number"}},"type":"object"},"toBlock":{"type":"number"}},"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":43,"error":null}],"description_full":"Gas history, zkSync gas price. Gas price history on zkSync Era (eth_feeHistory): base fee in gwei for each of the last N blocks (5-100, default 20), how full each block was, and the 10th, 50th and 90th percentile priority fees, with the low, average and high base fee over the window. Use to judge whether fees are rising, pick a priority fee or time a transaction; for the current price alone use zksync_gas.","last_updated":"2026-10-26T12:23:51.476Z","schemes":["exact"]}