{"uid":"cap_5riO3YGNNZwshoEtmM8lM","slug":"synapse-api-worldchain-gas-estimator-4822acd0","name":"Synapse API — Worldchain Gas Estimator","description":"High-speed API suite for AI processing, web scraping, and smart data utilities across 57+ blockchain networks. Pay-per-call via x402.","url":"https://synapse-api-brown.vercel.app/api/worldchain/gas/estimate","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"to":{"type":"string"},"data":{"type":"string"},"from":{"type":"string"},"value":{"type":"string"}}},"responseSchema":null,"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_OkFDjpygU_FjUrQ4vEjeY","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":"Estimates gas costs for a transaction on the Worldchain blockchain network before submission","exampleAgentPrompt":"Estimate the gas cost for a Worldchain transaction from 0xAbcD...1234 to 0x5678...EfGh with a value of 0.01 ETH and this calldata: 0xd0e30c0b.","exampleUseCases":[{"title":"Pre-flight check before DeFi swap","prompt":"Before I submit this swap on Worldchain, estimate the gas cost for a transaction from 0xMyWallet to the DEX contract 0xDEX123 with calldata 0xa9059cbb and value 0.0."},{"title":"Smart contract deployment cost preview","prompt":"Can you estimate how much gas it'll take to deploy my contract on Worldchain? The sender is 0xDev123, destination is null, and here's the bytecode data: 0x608060405234..."},{"title":"NFT mint gas estimation","prompt":"How much gas will it cost to mint an NFT on Worldchain? From address 0xMinter99 to contract 0xNFTContract, value 0, calldata 0x1249c58b."}],"resultDescription":"Returns a gas estimate (in gas units) for the proposed transaction on the Worldchain network, allowing the caller to understand expected fees before broadcasting the transaction.","failureModes":["Invalid address format in 'to' or 'from' fields returns a validation error","Malformed or invalid 'data' hex string causes a parsing error","Transaction simulation failure if the contract reverts during estimation","Network congestion or RPC node unavailability may cause timeouts","Missing required fields may return a 400 bad request"],"whenToPreferThis":"Choose this endpoint when you need a gas estimate specifically on the Worldchain network before committing to a transaction. It is ideal for pre-flight checks in DeFi workflows, NFT mints, or any smart contract interaction on Worldchain where cost predictability matters before signing and broadcasting.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:54:43.247Z","isFirstParty":false}