{"uid":"cap_LO7E161FDymzX3D8Z3Njn","slug":"saylor-innovations-gas-estimate-arbitrum-7a970077","name":"Saylor Innovations Gas Estimate (Arbitrum)","description":"Gas Estimate (arbitrum) — On-Chain Data","url":"https://saylorinnovations.com/api/evm/arbitrum/estimate-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"},"queryParams":{"type":"object","properties":{"to":{"type":"string","description":"0x target (query)"},"data":{"type":"string","description":"optional 0x calldata (query)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object","required":["chain","reverted"],"properties":{"gas":{"type":["number","null"]},"chain":{"type":"string"},"error":{"type":["string","null"]},"native":{"type":"string"},"reverted":{"type":"boolean"},"est_fee_native":{"type":["string","null"]},"gas_price_gwei":{"type":["number","null"]}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_MHuX6IlV5ypQ-UGANqbti","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Estimates gas usage and fee for a given transaction on the Arbitrum EVM network","exampleAgentPrompt":"Before I send this transaction to 0xAbCd1234... on Arbitrum with calldata 0xdeadbeef, can you estimate how much gas it will use and what the fee will be in ETH?","exampleUseCases":[{"title":"Pre-flight DeFi swap cost check","prompt":"I'm about to call a Uniswap contract at 0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45 on Arbitrum with this calldata: 0x5ae401dc000000... — can you estimate the gas cost and tell me if the transaction would revert?"},{"title":"Smart contract deployment cost estimate","prompt":"I want to know how much gas it'll cost to deploy my contract on Arbitrum — the target is 0x0000000000000000000000000000000000000000 and the calldata is my bytecode starting with 0x608060405234..."},{"title":"Arbitrage bot preflight gas validation","prompt":"Before my bot fires an arbitrage transaction to 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on Arbitrum, estimate the gas and current fee in native ETH so I can decide if the trade is still profitable."}],"resultDescription":"Returns a JSON object with the chain name, estimated gas units, gas price in gwei, estimated fee in native token, whether the transaction would revert, and an error message if applicable. Gas and fee fields may be null if estimation fails.","failureModes":["Invalid or malformed 'to' address returns an error field in the response","Transaction simulation reverts — reverted field is true and gas may be null","Network congestion or RPC issues may cause estimation failures","Missing required 'to' query parameter results in an error","Calldata that causes out-of-gas scenarios may return null gas values"],"whenToPreferThis":"Use this endpoint when you need on-chain gas estimation specifically for the Arbitrum L2 network. Prefer it over Ethereum mainnet or Polygon gas estimators when targeting Arbitrum contracts. It is ideal for pre-flight checks before submitting transactions, profitability calculations in DeFi bots, and validating whether a transaction would revert without spending real gas.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-03T00:48:23.002Z","isFirstParty":false,"canonicalSlug":"saylor-innovations-gas-estimate-arbitrum-7a970077"}