{"uid":"cap_KTt71JscdQ5ruR_7mI2gg","slug":"api-myceliasignal-com-29f471b2","name":"MycелiaSignal Cross-Chain Gas Index","description":"Cross-chain gas index — normalized transaction cost comparison across Ethereum, Base, Arbitrum, Polygon and Solana — Ed25519 signed attestation","url":"https://api.myceliasignal.com/oracle/gas/index","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":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{}}},"response":{"note":"L2 costs reflect execution gas only, not L1 data posting fee. Relative ranking is accurate.","type":"cross_chain_gas_index","chains":[{"rank":1,"chain":"optimism","chainId":10,"txCostUsd":0.000042,"baseFeeGwei":0,"gasPriceGwei":0.001,"nativeSymbol":"ETH","nativePriceUsd":2003.98},{"rank":2,"chain":"base","chainId":8453,"txCostUsd":0.000253,"baseFeeGwei":0.005,"gasPriceGwei":0.006,"nativeSymbol":"ETH","nativePriceUsd":2003.98},{"rank":3,"chain":"solana","chainId":0,"txCostUsd":0.000408,"baseFeeGwei":0,"gasPriceGwei":0,"nativeSymbol":"SOL","nativePriceUsd":81.67},{"rank":4,"chain":"arbitrum","chainId":42161,"txCostUsd":0.000842,"baseFeeGwei":0.02,"gasPriceGwei":0.02,"nativeSymbol":"ETH","nativePriceUsd":2003.98},{"rank":5,"chain":"polygon","chainId":137,"txCostUsd":0.002357,"baseFeeGwei":247.9474,"gasPriceGwei":280.5986,"nativeSymbol":"POL","nativePriceUsd":0.4},{"rank":6,"chain":"ethereum","chainId":1,"txCostUsd":0.006588,"baseFeeGwei":0.164,"gasPriceGwei":0.1565,"nativeSymbol":"ETH","nativePriceUsd":2003.98}],"pubkey":"f4f0e52b5f7b54831f965632bf1ebf72769beda4c4e3d36a593f7729ec812615","cheapest":"optimism","canonical":"v1|GAS_INDEX|6|optimism|optimism:0.000042,base:0.000253,solana:0.000408,arbitrum:0.000842,polygon:0.002357,ethereum:0.006588|2026-05-29T04:40:06Z","costliest":"ethereum","signature":"b76b6db51871a1b572e35cab6055152320cb68c6303c6a197da3c24318b53f998673762e0c4797cc318fcbb4f4847ee2a0c56d388de563c699d1f96836b42c07","timestamp":"2026-05-29T04:40:06Z","chainCount":6,"signingScheme":"ed25519"}},"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_NMso8e5Q0YZ3k2fLqOBT8","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a cryptographically signed (Ed25519) cross-chain gas index aggregating gas price data across multiple blockchain networks.","exampleAgentPrompt":"What's the current cross-chain gas index right now? I need a cryptographically signed attestation I can verify on-chain.","exampleUseCases":[{"title":"Route swaps to lowest-cost chain","prompt":"Before I execute this token swap, check the latest cross-chain gas index and tell me which blockchain would cost me the least in transaction fees right now. I want the signed attestation so I can prove the gas prices were current when I made the decision."},{"title":"Validate gas oracle data trustlessly","prompt":"We're integrating a multi-chain DeFi protocol and need to fetch the current cryptographically signed gas benchmark across all our supported networks. Can you grab the cross-chain gas index with the Ed25519 signature so our smart contract can verify it on-chain?"},{"title":"Monitor gas spikes across ecosystems","prompt":"Set up monitoring for the cross-chain gas index and alert me whenever aggregated fees spike across Ethereum, Arbitrum, and Polygon. I need the signed attestations so I can audit when costs became prohibitive for our users."}],"resultDescription":"Returns a cross-chain gas index value aggregated across multiple blockchain networks, accompanied by an Ed25519 cryptographic signature for on-chain or off-chain verification. The response enables trustless consumption of gas price benchmarks.","failureModes":["Payment not provided or invalid — 402 Payment Required","Rate limit exceeded — service unavailable","Oracle data temporarily unavailable — upstream data source failure","Invalid or expired Ed25519 signature returned — attestation integrity issue"],"whenToPreferThis":"Use this endpoint when you need a cryptographically attested, cross-chain aggregate gas index rather than gas prices for a single chain (e.g. use the sibling Polygon gas endpoint for single-chain). Prefer this when building smart contracts, DeFi protocols, or off-chain systems that require a verifiable, multi-network gas benchmark with Ed25519 signature proofs.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T13:06:51.638Z","isFirstParty":false}