{"uid":"cap_alstgy_69c259H6qojNaq","slug":"agent-data-tools-revmesh2074-workers-dev-avalanche-gas-fee-history-3aae0b1d","name":"Avalanche Gas Fee History","description":"Gas price history on Avalanche (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 avax_gas.","url":"https://agent-data-tools.revmesh2074.workers.dev/avax/gas-history?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"blocks":{"type":"integer","description":"How many recent blocks, 5-100 (default 20)"}}},"responseSchema":{"type":"object","properties":{"chain":{"type":"string"},"blocks":{"type":"number"},"chainId":{"type":"number"},"history":{"type":"array","items":{"type":"object","properties":{"block":{"type":"number"},"baseFeeGwei":{"type":"number"},"gasUsedRatio":{"type":"number"},"priorityFeeGwei":{"type":"array","items":{"type":"number"}}}}},"toBlock":{"type":"number"},"fromBlock":{"type":"number"},"baseFeeGwei":{"type":"object","properties":{"low":{"type":"number"},"high":{"type":"number"},"next":{"type":"number"},"latest":{"type":"number"},"average":{"type":"number"}}},"priorityFeeGwei":{"type":"object","properties":{"p10":{"type":"number"},"p50":{"type":"number"},"p90":{"type":"number"}}}}},"example":null,"exampleRequest":null,"tags":[],"displayCostAmount":"0.01","displayCostAsset":"USD","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_FR0MwKuC-wsxrp8EXn6fC","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":"agent-data-tools.revmesh2074.workers.dev","brandSlug":"agent-data-tools-revmesh2074-workers-dev-x402","brandBaseUrl":"https://agent-data-tools.revmesh2074.workers.dev","brandDocsUrl":null,"whatItDoes":"Returns eth_feeHistory data for Avalanche: per-block base fees, gas utilization ratios, and priority fee percentiles (p10/p50/p90) over the last 5–100 blocks, plus summary low/avg/high/next base fee stats.","exampleAgentPrompt":"Pull the Avalanche gas fee history for the last 30 blocks — I want to see whether base fees are rising or falling, how full blocks have been, and what priority fee percentiles look like so I can decide when and how to submit my transaction.","exampleUseCases":[{"title":"Time a DeFi transaction on Avalanche","prompt":"Check the last 40 blocks of Avalanche gas history and tell me if fees are trending up or down, and what priority fee I should set to get my transaction included quickly."},{"title":"Monitor AVAX network congestion","prompt":"How full have Avalanche blocks been over the last 50 blocks, and what's the average base fee been during that window?"},{"title":"Pick a safe priority fee for a large swap","prompt":"I need to send a large token swap on Avalanche — can you pull 100 blocks of fee history and tell me the p10, p50, and p90 priority fees and the next expected base fee so I can set a safe tip?"}],"resultDescription":"A JSON object containing: the chain name and ID, the block range (fromBlock/toBlock), a per-block array with block number, base fee in gwei, gas used ratio, and [p10, p50, p90] priority fees in gwei; plus a summary object with low/average/high/next/latest base fees in gwei and aggregate priority fee percentiles (p10/p50/p90).","failureModes":["blocks parameter outside 5–100 range returns validation error","RPC node unreachable or timeout returns 5xx error","Requesting more blocks than available on chain returns partial or error response","Invalid query parameter type returns 400 bad request"],"whenToPreferThis":"Use this endpoint when you need historical gas fee context on Avalanche to make informed transaction decisions — e.g., trend analysis, priority fee selection, or congestion monitoring. Use the companion avax_gas endpoint instead if you only need the single current gas price without historical window data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T06:44:35.240Z","isFirstParty":false,"canonicalSlug":"agent-data-tools-revmesh2074-workers-dev-avalanche-gas-fee-history-3aae0b1d"}