{"uid":"cap_Nwbqw91-FTC8mBogoD4B5","slug":"axiom-works-pending-block-snapshot-f8236bee","name":"Axiom Works Pending Block Snapshot","description":"Pending + latest block snapshot via eth_getBlockByNumber: pending number/hash/parentHash/timestamp/gas/baseFee/tx count/miner vs latest head age. Public RPCs may omit pending — then 502. Example: {chain:\"base\"}. $0.001.","url":"https://api.axiomworks.co.uk/chain/pending?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":{"chain":{"enum":["base","ethereum","arbitrum","optimism","polygon"],"type":"string","description":"EVM chain (default base)"}}}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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":"down","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_OYB_Hhq2e9k0zTXeNlSkB","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns pending and latest block data from an EVM chain via eth_getBlockByNumber, including block number, hash, parent hash, timestamp, gas, base fee, tx count, miner, and head age","exampleAgentPrompt":"What does the current pending block on Base look like — give me the block number, base fee, transaction count, and how old the latest head is.","exampleUseCases":[{"title":"Monitor Base network congestion","prompt":"Check the pending block on Base and tell me the current base fee and how many transactions are queued up."},{"title":"Verify Ethereum chain is live","prompt":"Is Ethereum's chain head recent? Fetch the latest and pending block data and tell me how old the head is."},{"title":"Arbitrum pending block for gas estimation","prompt":"What's the pending block's base fee and gas limit on Arbitrum right now?"}],"resultDescription":"Returns a JSON object with two sections: the pending block (number, hash, parentHash, timestamp, gasLimit, baseFeePerGas, transaction count, miner) and the latest block head age in seconds or milliseconds, allowing comparison between pending state and the current chain tip. If the public RPC omits the pending block, returns a 502 error.","failureModes":["502 error when public RPC does not expose the pending block for the requested chain","Invalid or unsupported chain name returns an error","Network timeout if the upstream RPC is slow or unavailable","Missing chain parameter defaults to base, which may not be the intended chain"],"whenToPreferThis":"Use this endpoint when you need a quick, pay-per-call snapshot of EVM pending block data without running your own node or subscribing to a full RPC provider. Ideal for agents that occasionally need to check gas conditions, block freshness, or pending tx volume on Base, Ethereum, Arbitrum, Optimism, or Polygon. Prefer this over full node subscriptions for lightweight, infrequent polling at $0.001 per call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-15T21:28:18.384Z","isFirstParty":false,"canonicalSlug":"axiom-works-pending-block-snapshot-f8236bee"}