{"uid":"cap_J2TnHbMpCISZIFyg2w_Ep","slug":"saylor-innovations-multi-chain-gas-comparison-base-ethereum-c86a7cf6","name":"Saylor Innovations Multi-Chain Gas Comparison (Base + Ethereum)","description":"Multi-Chain Gas Comparison — On-Chain Data","url":"https://saylorinnovations.com/api/evm/gas?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","POST","PUT","PATCH","DELETE","HEAD"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object","required":["generated_at","chains"],"properties":{"chains":{"type":"array","items":{"type":"object"}},"cheapest":{"type":["string","null"]},"generated_at":{"type":"string"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ijFXpijCJI3gBbSdyfk8a","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches and compares current gas prices across Base and Ethereum EVM chains, identifying the cheapest option","exampleAgentPrompt":"What are the current gas prices on Base and Ethereum right now, and which one is cheaper to transact on?","exampleUseCases":[{"title":"Pick cheapest chain for token swap","prompt":"Before I execute this token swap, check the current gas prices on both Base and Ethereum and tell me which chain is cheaper to use right now."},{"title":"DeFi bot chain routing decision","prompt":"My DeFi bot needs to decide which chain to route the next transaction through — pull the latest gas comparison between Base and Ethereum and tell me the cheapest one."},{"title":"Gas cost monitoring dashboard","prompt":"I want to keep an eye on gas fees — can you fetch the current gas prices across Base and Ethereum and show me which chain has the lowest fees at this moment?"}],"resultDescription":"Returns a JSON object containing a timestamp (generated_at), an array of chain objects each with their current gas price data, and a 'cheapest' field identifying the lowest-cost chain (or null if undetermined).","failureModes":["Upstream RPC node unavailable — returns error or stale data","Rate limiting at $0.003/call — multiple rapid calls may be throttled","Chain data temporarily unavailable for one network — partial results with null entries","Payment failure via x402 protocol — call rejected before reaching the API"],"whenToPreferThis":"Use this endpoint when you need a quick, real-time multi-chain gas comparison between Base and Ethereum without building your own RPC infrastructure. Ideal for DeFi agents, transaction routers, or cost-optimization workflows that need to decide which EVM chain to use before submitting a transaction. Prefer this over raw RPC calls when you want a pre-aggregated comparison with a 'cheapest' signal already computed.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-03T00:47:16.701Z","isFirstParty":false,"canonicalSlug":"saylor-innovations-multi-chain-gas-comparison-base-ethereum-c86a7cf6"}