{"uid":"cap_9uoCTQ8am5JW08sdVzfe8","slug":"avasis-ethereum-mainnet-gas-tip-b8bc924e","name":"Avasis Ethereum Mainnet Gas Tip","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://premium.35-171-220-195.sslip.io/v1/tip/eth-gas?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","properties":{"wait":{"type":"integer","maximum":25,"minimum":0,"description":"long-poll: seconds to wait for a newer value (0..25); with a prepaid token an unchanged answer is free"},"since":{"type":"integer","minimum":0,"description":"long-poll: the seq you already have; answers as soon as a newer value exists"}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["topic","seq","data"],"properties":{"seq":{"type":"integer"},"data":{"type":"object"},"topic":{"type":"string"},"observedAt":{"type":"string"}}}}}}},"responseSchema":null,"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_bFoPUgbdT72XvKNCbdm0J","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 the latest Ethereum mainnet gas fee data (block number, base fee, priority fee, and suggested maxFeePerGas) from a batched RPC call, refreshed every 4 seconds, with optional long-polling.","exampleAgentPrompt":"What are the current Ethereum mainnet gas fees — give me the base fee, priority fee, and a safe maxFeePerGas I should use for my transaction right now?","exampleUseCases":[{"title":"Set gas fees before sending ETH","prompt":"I'm about to send an Ethereum transaction — what's the current base fee and what should I set my maxFeePerGas and maxPriorityFeePerGas to so it goes through quickly?"},{"title":"Wait for gas price to drop","prompt":"Long-poll the Ethereum gas feed and alert me as soon as the gas tip changes from sequence 42 — I want to know the moment fees drop so I can submit my transaction."},{"title":"Real-time gas dashboard for trading bot","prompt":"Continuously fetch the latest Ethereum gas tip every few seconds so my trading bot can always use an up-to-date maxFeePerGas when building transactions."}],"resultDescription":"A JSON object containing a topic label, a monotonically increasing sequence number, an observedAt timestamp, and a data object with: latest block number, block age in seconds, current base fee in wei, eth_gasPrice, eth_maxPriorityFeePerGas, and a suggested maxFeePerGas (calculated as 2× base fee + priority fee).","failureModes":["Payment required (402) if no prepaid meter token is provided","Long-poll timeout if no new data arrives within the requested wait window","Stale data if upstream Ethereum RPC is lagging","Invalid query parameters (wait > 25 or since < 0) result in validation errors","Network errors connecting to the sslip.io hosted endpoint"],"whenToPreferThis":"Use this endpoint when an AI agent needs real-time Ethereum mainnet gas fee data to construct or price transactions, especially when you want a single batched call that includes block number, base fee, priority fee, and a pre-computed maxFeePerGas suggestion. Prefer this over raw RPC calls when you want a simple REST interface with long-polling support and a prepaid metered billing model via x402.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-24T18:36:01.301Z","isFirstParty":false,"canonicalSlug":"avasis-ethereum-mainnet-gas-tip-b8bc924e"}