{"uid":"cap_4B22aRKdr2DmiXZN_0qpO","slug":"blockchain-gas-state-lookup-b5b51e23","name":"Blockchain Gas State Lookup","description":"Machine-payable x402 utilities for hashing, Base64, UUID generation, unit and timezone conversion, realtime crypto market data, webpage/document extraction, URL-to-Markdown, metadata, RAG ingestion and deterministic website change detection.","url":"https://x402-gateway-production-1f21.up.railway.app/chain/gas-state?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","properties":{"network":{"enum":["base","ethereum"],"type":"string","default":"base"}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"status":"ready"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_XZ6QRMFjyVTSqhF7a60-E","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the current gas/network state for a specified blockchain network (Base or Ethereum)","exampleAgentPrompt":"What's the current gas state on the Base network right now — is it ready for transactions?","exampleUseCases":[{"title":"Pre-transaction gas check on Base","prompt":"Before I send this on-chain transaction, can you check the current gas state on the Base network and tell me if it's ready?"},{"title":"Ethereum gas monitoring for cost optimization","prompt":"Check the current gas state on Ethereum for me — I want to know if now is a good time to submit a transaction or if fees are too high."},{"title":"Automated DApp readiness check","prompt":"I need to know if the Base chain is in a ready state right now before my dApp triggers a batch of transactions — can you pull the gas state?"}],"resultDescription":"Returns a JSON object indicating the current gas/network state for the requested blockchain (Base or Ethereum), including a status field such as 'ready' that signals whether the network is in an acceptable condition for transactions.","failureModes":["Invalid or unsupported network name returns an error (only 'base' and 'ethereum' are valid enum values)","Payment failure or insufficient USDC balance blocks the request under x402 protocol","Network connectivity issues to the railway.app backend may cause timeouts","Malformed request body (missing required 'network' field) returns a validation error"],"whenToPreferThis":"Use this endpoint when an AI agent or automated workflow needs to check live blockchain gas/network conditions on Base or Ethereum before executing or scheduling an on-chain transaction. Prefer this over manual RPC calls when you want a simple, machine-payable, standardized status check that abstracts away raw node queries.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T00:42:09.208Z","isFirstParty":false,"canonicalSlug":"blockchain-gas-state-lookup-b5b51e23"}