{"uid":"cap_Sj9eUUf5PbQMIi9m9tnSD","slug":"polygon-block-gas-summary-22550e6b","name":"Polygon Block Gas Summary","description":"Explore 330 pay-per-call x402 API services and 27 agent-native digital products, with Base USDC pricing, secure Polar checkout, and free discovery.","url":"https://signalharness.ai/api/agent/services/polygon_block_gas_summary/invoke","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"request_json":{"type":"string","maxLength":65536,"minLength":2}}},"responseSchema":{"type":"json","example":{"replay":false,"result":{"warnings":["Does not prove canonical or finalized status."],"service_id":"polygon_block_gas_summary","analysis_json":"{\"base_fee_per_gas\":\"100\",\"gas_limit\":\"30000000\",\"gas_used\":\"21000\",\"network_context\":{\"accepted_chain_ids\":[\"137\",\"80002\"],\"bridge_model\":\"root-child state sync plus checkpoint evidence\",\"completion_policy\":\"never inferred without supplied evidence\",\"protocol_family\":\"Polygon PoS\"},\"number\":\"1\",\"transaction_count\":1,\"transaction_types\":{\"0x2\":1},\"utilization_ppm\":\"700\"}","evidence_scope":"caller_supplied_data","analyzed_network":"polygon"},"status":"succeeded","receipt":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","usage":[],"status":"succeeded","network":"eip155:8453","artifacts":[],"endedAtMs":0,"latencyMs":0,"paymentId":"example-payment","receiptId":"example-receipt","requestId":"example-request","serviceId":"polygon_block_gas_summary","executionId":"example-execution","startedAtMs":0,"amountAtomic":"15000","resultSha256":"e834ac8780e2e0b865a99db035dd6c72b78e2ad159da2bbc5258bd7fab481607","serviceVersion":"1.0.0","settlementReference":"0x0000000000000000000000000000000000000000000000000000000000000000"},"artifacts":[],"requestId":"example-request","executionId":"example-execution"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.015","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.015/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.015","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.015","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_91dJZxKYSGm4jBcFuPLic","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.015","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes gas usage metrics from a supplied Polygon PoS block, returning base fee, gas limit, utilization, transaction count, and transaction type breakdown.","exampleAgentPrompt":"Analyze the gas usage for this Polygon block — here's the raw block JSON — and give me the base fee per gas, total gas used, utilization in ppm, and a breakdown of transaction types.","exampleUseCases":[{"title":"Monitor block gas spikes on Polygon","prompt":"I want to understand the gas conditions on this Polygon block I just fetched — can you extract the base fee, gas utilization, and transaction count from the block data and tell me if utilization looks unusually high?"},{"title":"Audit transaction type distribution","prompt":"Here's a Polygon block JSON — break down how many transactions were type 0x2 versus other types, and give me the total gas used and gas limit so I can see how full the block was."},{"title":"Pipeline gas data for DeFi analytics","prompt":"I'm building a gas tracker — take this raw Polygon PoS block payload and return me a structured summary with base_fee_per_gas, gas_used, gas_limit, utilization_ppm, and transaction count so I can log it."}],"resultDescription":"Returns a structured JSON analysis containing base_fee_per_gas, gas_limit, gas_used, utilization_ppm, transaction_count, transaction_types (keyed by EIP-2718 type), and network context including accepted chain IDs and protocol family. Also includes a warnings array and evidence_scope indicating the data is caller-supplied (not independently verified on-chain).","failureModes":["Malformed or missing request_json causes validation error","Supplied block data missing required gas fields returns partial or failed analysis","Non-Polygon chain IDs in block data may produce incorrect network context","No on-chain finality verification — warnings note data is caller-supplied","Payment failure (insufficient USDC balance) results in HTTP 402 before execution"],"whenToPreferThis":"Choose this endpoint when you have raw Polygon PoS block data already fetched and need a fast, structured gas summary without running your own parsing logic. It is ideal for pipelines that ingest block data from an RPC node and need utilization metrics, fee breakdowns, and transaction type stats in one call. Not suitable if you need real-time block fetching (you must supply the block JSON yourself) or need cryptographic proof of finality.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T13:09:15.904Z","isFirstParty":false}