{"uid":"cap_W878HIjyKNMB479DyoHmt","slug":"avasis-ethereum-gas-tip-feed-6c5c2e22","name":"Avasis Ethereum Gas Tip Feed","description":"Ethereum mainnet gas tip for agents that send transactions: latest block number and age, base fee, eth_gasPrice, eth_maxPriorityFeePerGas and a suggested maxFeePerGas (2x base fee + priority), from one batched RPC call every 4 s. Long-poll with ?since=<seq>&wait=25. Prepaid meter price $0.0002/call (packs at /v1/meter); SSE at /v1/stream/tips.","url":"https://agents.avasis.ai/v1/tip/eth-gas?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"properties":{"type":"string"}}},"responseSchema":{"type":"json","example":{"seq":812,"data":{"gwei":{"baseFee":0.41,"gasPrice":1.41,"maxPriorityFee":1,"suggestedMaxFee":1.82},"chain":"ethereum","chainId":1,"blockNumber":23700000,"blockAgeSeconds":5},"ageMs":420,"stale":false,"topic":"eth-gas","changed":true,"observedAt":"2026-10-29T12:00:00.000Z"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_3HD4URZjuSEpTmTFJtkCn","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns real-time Ethereum mainnet gas fee data (base fee, gas price, max priority fee, suggested max fee) and latest block info from a single batched RPC call, refreshed every 4 seconds.","exampleAgentPrompt":"What are the current Ethereum mainnet gas fees right now — base fee, priority fee, and a safe suggested maxFeePerGas in gwei — so I can price my next transaction?","exampleUseCases":[{"title":"Pre-transaction gas estimation for DeFi bot","prompt":"Before I submit this Ethereum swap transaction, check the current base fee, max priority fee, and suggested maxFeePerGas so I can set the right gas parameters and not overpay or get stuck."},{"title":"Real-time gas alert in trading pipeline","prompt":"I want to long-poll for ETH gas updates starting from sequence 812 — notify me as soon as the base fee changes so my trading agent can react immediately."},{"title":"Gas fee dashboard for on-chain agent fleet","prompt":"Fetch me the latest Ethereum mainnet gas tip — base fee, gasPrice, maxPriorityFee, and the 2x-base suggested maxFeePerGas — along with the current block number and how many seconds old it is."}],"resultDescription":"A JSON object containing: a sequence number, chain info (name 'ethereum', chainId 1), gas values in gwei (baseFee, gasPrice, maxPriorityFee, suggestedMaxFee where suggestedMaxFee = 2×baseFee + priority), latest block number and age in seconds, data age in milliseconds, a stale boolean, a changed boolean, and an observedAt ISO timestamp.","failureModes":["Stale data: if the Ethereum node is lagging, stale:true is returned and blockAgeSeconds may be high","Long-poll timeout: if no update arrives within the wait window, the last known data is returned","Payment failure: x402 payment not accepted results in 402 response with no gas data","Invalid since parameter: malformed sequence number may return an error or ignore the parameter","Network outage: upstream RPC provider unavailability causes delayed or missing responses"],"whenToPreferThis":"Choose this endpoint when an AI agent or automated system needs to price Ethereum mainnet transactions in real time with minimal latency, especially when polling for changes (long-poll support via ?since=&wait=). Ideal for DeFi bots, gas optimization pipelines, and on-chain agent fleets that need a single batched call covering all fee components. Prefer over raw RPC calls when you want pre-computed suggestedMaxFee and a freshness indicator in one metered call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:37:51.748Z","isFirstParty":false,"canonicalSlug":"avasis-ethereum-gas-tip-feed-6c5c2e22"}