{"uid":"cap_DxdDuCaqS4IP9tvwdcN1s","slug":"vextorium-evm-fee-history-eth-feehistory-bc719ca1","name":"Vextorium EVM Fee History (eth_feeHistory)","description":"Fee history of the last N blocks on an EVM chain (eth_feeHistory): base fee per block, gas usage and priority tips at the 10th, 50th and 90th percentiles, with a tip recommendation to get included fast. 12 chains.","url":"https://api.vextorium.com/gas-historial-pago?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"red":{"enum":["base","ethereum","arbitrum","optimism","polygon","bnb","avalanche","gnosis","linea","scroll","sonic","unichain"],"type":"string","description":"Chain (default base)"},"bloques":{"type":"integer"}}},"responseSchema":{"type":"json","example":{"red":"base","bloques":10,"detalle":[{"bloque":52091652,"uso_gas_pct":8.1,"base_fee_gwei":0.005,"propina_p10_gwei":0,"propina_p50_gwei":0.001,"propina_p90_gwei":0.005},{"bloque":52091653,"uso_gas_pct":8.1,"base_fee_gwei":0.005,"propina_p10_gwei":0,"propina_p50_gwei":0.00115,"propina_p90_gwei":0.0265}],"base_fee_media_gwei":0.005,"base_fee_siguiente_gwei":0.005,"recomendacion_propina_gwei":{"normal":0.001015,"rapida":0.013771}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","displayCostAsset":"USDC","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_xxHmqMKXFERpeo5NxArlh","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns EVM gas fee history for the last N blocks on 12 supported chains, including base fees, gas usage percentiles, and priority tip recommendations for fast inclusion.","exampleAgentPrompt":"What are the gas fees on Base for the last 10 blocks? I need the base fee trend, gas usage, and a tip recommendation so I know what priority fee to set for a fast transaction.","exampleUseCases":[{"title":"Optimize gas for urgent DeFi trade","prompt":"I need to send a transaction on Arbitrum right now — what priority tip should I set to get it included fast? Can you pull the last 15 blocks of fee history so I can see the P90 tip and the fast recommendation?"},{"title":"Monitor Ethereum gas before batch mint","prompt":"Before I launch my NFT mint on Ethereum, can you pull the gas fee history for the last 20 blocks and tell me the average base fee and what tip level I should set for normal inclusion?"},{"title":"Compare gas trends across Polygon and Optimism","prompt":"I want to compare gas conditions on Polygon versus Optimism right now — can you get the last 10 blocks of fee history for each, including base fees and gas usage percentages?"}],"resultDescription":"A JSON object containing: the chain name, number of blocks analyzed, a per-block breakdown (block number, gas usage %, base fee in gwei, P10/P50/P90 priority tips in gwei), the average base fee across all blocks, the predicted next base fee, and a tip recommendation object with 'normal' and 'fast' gwei values for transaction prioritization.","failureModes":["Unsupported chain name returns an error — only 12 specific chains are accepted (base, ethereum, arbitrum, optimism, polygon, bnb, avalanche, gnosis, linea, scroll, sonic, unichain)","Missing required 'bloques' (block count) field may return a default or validation error","RPC-level errors on the underlying EVM node cause upstream failures","Payment not received or insufficient USDC balance results in 402 Payment Required","Extremely large block counts may time out or return partial data"],"whenToPreferThis":"Choose this endpoint when you need detailed, multi-block EVM gas fee history with percentile breakdowns and an actionable tip recommendation across 12 supported chains. It is ideal for agents that need to programmatically decide what gas price to set before submitting a transaction, or for dashboards monitoring gas trends. Prefer it over generic RPC calls when you want the P10/P50/P90 summary and a ready-made fast/normal recommendation without doing your own percentile math.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T18:57:10.384Z","isFirstParty":false,"canonicalSlug":"vextorium-evm-fee-history-eth-feehistory-bc719ca1"}