{"uid":"cap_XoCzJtXXZT80v5zh9qTwq","slug":"polygon-eip-1559-fee-analyzer-a8aeb285","name":"Polygon EIP-1559 Fee Analyzer","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_eip1559_fee_analyze/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 estimate live fees or inclusion probability."],"service_id":"polygon_eip1559_fee_analyze","analysis_json":"{\"base_fee_per_gas\":\"100\",\"cap_headroom\":\"20\",\"effective_gas_price\":\"105\",\"execution_fee\":\"2205000\",\"gas\":\"21000\",\"max_fee_per_gas\":\"120\",\"max_priority_fee_per_gas\":\"5\",\"mode\":\"evm_fee\",\"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\"},\"realized_priority_fee_per_gas\":\"5\"}","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_eip1559_fee_analyze","executionId":"example-execution","startedAtMs":0,"amountAtomic":"10000","resultSha256":"6f9c8fd4e5d472007ed7c3bbc459931245ae1adb5edfdf42cca56c46c9161e30","serviceVersion":"1.0.0","settlementReference":"0x0000000000000000000000000000000000000000000000000000000000000000"},"artifacts":[],"requestId":"example-request","executionId":"example-execution"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Zfe5S18gcvACgLmRuRkU0","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes EIP-1559 gas fee parameters (base fee, priority fee, max fee) for Polygon PoS transactions using caller-supplied data, returning a structured breakdown of effective execution costs.","exampleAgentPrompt":"Analyze these Polygon EIP-1559 fee parameters for me: base fee is 100 gwei, max fee per gas is 120 gwei, max priority fee is 5 gwei, and I'm sending a standard 21000 gas transfer on Polygon mainnet (chain ID 137) — tell me the effective gas price, cap headroom, and total execution fee.","exampleUseCases":[{"title":"Pre-submission fee validation for Polygon tx","prompt":"Before I submit this Polygon PoS transaction, check my EIP-1559 fee params: base fee per gas is 80 gwei, max fee per gas is 100 gwei, max priority fee is 3 gwei, gas limit is 21000 on chain ID 137. What's my effective gas price and total execution cost in wei?"},{"title":"DApp gas cost breakdown for user display","prompt":"My DApp needs to show users the exact fee breakdown for a Polygon transaction — base fee 150 gwei, max fee 180 gwei, priority tip 10 gwei, gas 65000, chain 137. Can you compute the realized priority fee, cap headroom, and execution fee in atomic units?"},{"title":"Wallet fee parameter audit on Polygon Amoy testnet","prompt":"Audit these EIP-1559 parameters I'm about to broadcast on Polygon Amoy testnet (chain ID 80002): base fee 50 gwei, max fee per gas 75 gwei, max priority fee 2 gwei, gas limit 50000. Are the values consistent and what's the total execution fee?"}],"resultDescription":"Returns a JSON object containing the analyzed network (polygon), evidence scope (caller_supplied_data), and a detailed analysis_json string with fields: base_fee_per_gas, max_fee_per_gas, max_priority_fee_per_gas, effective_gas_price, realized_priority_fee_per_gas, cap_headroom, gas, execution_fee (total cost in wei), mode (evm_fee), and a network_context block describing accepted chain IDs (137, 80002), bridge model, completion policy, and protocol family. Also includes any warnings (e.g. no live fee estimation). Status field confirms success.","failureModes":["Malformed or invalid request_json input causes parsing failure","Missing required fee fields (base_fee, max_fee, gas) results in incomplete analysis","Chain ID not in accepted list [137, 80002] may yield unsupported network warning","Values where max_fee_per_gas < base_fee_per_gas + max_priority_fee_per_gas produce logical inconsistency warnings","Service does not fetch live on-chain data — stale or incorrect caller-supplied inputs yield misleading but structurally valid results"],"whenToPreferThis":"Choose this endpoint when you need to validate or decompose EIP-1559 gas fee parameters specifically for Polygon PoS (mainnet chain 137 or Amoy testnet 80002) using values you already have — not for fetching live gas prices. Ideal for pre-submission checks, building fee displays in wallets/DApps, or auditing transaction parameters offline. Prefer this over generic gas estimation APIs when you need structured decomposition of cap headroom, realized priority fee, and execution cost from supplied data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T13:06:21.475Z","isFirstParty":false}