{"uid":"cap_3jIaWkYmYhvVAZ9BI8F3l","slug":"toolcall-click-gas-price-latest-block-87a0a415","name":"toolcall.click Gas Price & Latest Block","description":"Current gas price and latest block for Base or Ethereum mainnet, straight from public RPC. Fresh within 15 seconds. JSON response. $0.002 USDC per call, pay via x402, no API key.","url":"https://toolcall.click/t/crypto/gas","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","required":["chain"],"properties":{"chain":{"enum":["base","ethereum"],"type":"string","description":"Chain to query"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"chain":"base","blockNumber":32456789,"gasPriceWei":"5150000","gasPriceGwei":0.00515}},"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_twUpv_HR87msVATqEuoU7","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 current gas price and latest block number for Base or Ethereum mainnet, sourced directly from public RPC nodes, refreshed within 15 seconds.","exampleAgentPrompt":"What's the current gas price and latest block on the Ethereum mainnet right now?","exampleUseCases":null,"resultDescription":"A JSON object containing the current gas price (in wei or gwei) and the latest block number for the requested chain (either 'base' or 'ethereum'), sourced from a public RPC node and guaranteed fresh within the last 15 seconds.","failureModes":["Invalid chain value (not 'base' or 'ethereum') returns a 400 or validation error","RPC node temporarily unavailable may return a 5xx error or stale data warning","Payment failure via x402 protocol returns a 402 Payment Required response","Missing required 'chain' query parameter returns a validation error"],"whenToPreferThis":"Use this endpoint when an agent needs real-time, low-latency gas fee data or the latest block number for Base or Ethereum mainnet without setting up a dedicated RPC connection or API key. Ideal for pre-transaction cost estimation, gas monitoring, or block-height checks. The x402 micropayment model ($0.002 USDC) makes it cost-effective for occasional lookups.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:40:33.186Z","isFirstParty":false}