{"uid":"cap_7xcmRuqgo3-YFmqnPdbag","slug":"agent402-tools-cheapest-rail-now-3c07e248","name":"agent402.tools Cheapest Rail Now","description":"Bundled execution of the Cheapest rail right now workflow - Where should an agent transact this minute? Live gas on Ethereum + every major L2 side by side, Base gas tiers, a fee estimate for your transaction type, and ETH spot to price it all in dollars. One x402 payment runs 4 underlying tools (l2-gas-comparison, gas-snapshot, gas-estimate, crypto-price); partial-success per step.","url":"https://agent402.tools/api/skill/cheapest-rail","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"networks":{"type":"string","description":"Comma-separated chains to compare (default: ethereum,base,arbitrum,optimism,polygon)"}}},"responseSchema":{"type":"json","example":{"args":{"networks":"ethereum,base,arbitrum,optimism,polygon"},"pack":"cheapest-rail","steps":[{"ok":true,"slug":"l2-gas-comparison","result":{}},{"ok":true,"slug":"gas-snapshot","result":{}},{"ok":true,"slug":"gas-estimate","result":{}},{"ok":true,"slug":"crypto-price","result":{}}],"summary":"4/4 steps succeeded"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.009","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.009/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.009","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.009","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_geFv9S_6iB8ccrhzA34J6","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.009","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns live gas prices across Ethereum and major L2s side-by-side, Base gas tiers, a fee estimate for a given transaction type, and ETH spot price to help an agent pick the cheapest chain to transact on right now.","exampleAgentPrompt":"Check live gas prices across Ethereum, Base, Arbitrum, Optimism, and Polygon right now and tell me which chain is cheapest to transact on, including the ETH spot price and a fee estimate.","exampleUseCases":null,"resultDescription":"A bundled response containing real-time gas prices for each requested chain, Base-specific gas tiers, a transaction fee estimate in USD/ETH, and the current ETH spot price — enabling direct cost comparison to choose the cheapest chain to transact on.","failureModes":["Invalid or unsupported chain name in networks parameter returns an error or omits that chain","Network connectivity issues fetching live gas data may result in stale or partial results","Payment failure (insufficient USDC or x402 protocol error) blocks the call","ETH price feed outage may affect USD cost estimates"],"whenToPreferThis":"Use this endpoint when an agent needs to dynamically route an on-chain transaction to whichever network has the lowest gas cost at that moment, or when displaying fee comparisons across Ethereum and L2s to a user before they sign a transaction. Prefer this over manual RPC polling when you need a single bundled view of gas + ETH price across multiple chains simultaneously.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T01:11:59.721Z","isFirstParty":false}