{"uid":"cap_X_A_7GieCBKi_eoxRQ6JJ","slug":"treasury-preflight-stablecoin-transfer-fee-quotes-186b288a","name":"Treasury Preflight - Stablecoin Transfer Fee Quotes","description":"x402-paid preflight checks for stablecoin transfers.","url":"https://preflight.admapu.xyz/v1/fees?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"],"type":"string"},"queryParams":{"type":"object","properties":{"token":{"enum":["USDC","USDT"],"type":"string"},"chains":{"type":"string","description":"Comma list from ethereum, base, arbitrum, optimism, polygon"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"errors":[],"quotes":[{"block":36123456,"chain":"base","token":"USDC","feeUsd":0.0021,"gasUnits":45012,"feeNative":"0.000000812","observedAt":"2026-09-30T14:00:00.000Z","validUntil":"2026-09-30T14:00:12.000Z","l1FeeNative":"0.000000281","gasPriceGwei":0.0118,"nativeSymbol":"ETH","gasSampleSize":17}]}},"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_JH0Wj6PWiKpi-9mlVNrUp","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns real-time gas fee quotes for stablecoin (USDC/USDT) transfers across supported EVM chains, including gas units, USD cost, and quote validity window.","exampleAgentPrompt":"Before I send USDC on Base, pull a live fee quote so I can see the current gas cost in USD and how long the quote is valid for.","exampleUseCases":[{"title":"Cheapest chain selection before payment","prompt":"I want to send USDC to someone but I'm not sure which chain to use — can you get me current gas fee quotes for Base, Arbitrum, and Optimism so I can pick the cheapest one?"},{"title":"Pre-transaction cost validation for DeFi agent","prompt":"Before my agent executes the USDT transfer on Ethereum, fetch a live preflight quote so I know the exact gas cost in USD and native ETH units right now."},{"title":"Real-time fee monitoring for stablecoin treasury ops","prompt":"Get me the latest USDC transfer fee quote on Polygon, including the gas price in Gwei and how many seconds the quote is valid, so our treasury system can decide whether to proceed."}],"resultDescription":"A JSON object containing an array of fee quotes, each with: the current block number, chain name, stablecoin token, fee in USD, gas units required, gas price in Gwei, native token fee amount, L1 fee in native token, native currency symbol, gas sample size used for estimation, the timestamp the quote was observed, and a validUntil timestamp indicating how long the quote remains valid (typically ~12 seconds).","failureModes":["Unsupported token type returns validation error (only USDC/USDT accepted)","Unsupported chain name in comma-separated list causes error or is ignored","Quote expires quickly (~12 seconds validUntil window) — stale quotes must be refreshed before use","Payment of $0.002 USDC required per call via x402 protocol; missing payment results in 402 response","Network congestion may cause gas estimates to shift between quote and execution"],"whenToPreferThis":"Use this endpoint when you need a real-time, on-chain gas cost estimate before executing a stablecoin transfer on an EVM-compatible chain. It is specifically designed for preflight validation — checking transfer feasibility and cost before committing a transaction. Prefer this over generic gas estimator APIs when you need USD-denominated fee quotes with validity windows, L1 fee breakdowns for L2 chains, and support for both USDC and USDT across multiple EVM networks simultaneously.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T06:40:12.942Z","isFirstParty":false,"canonicalSlug":"treasury-preflight-stablecoin-transfer-fee-quotes-186b288a"}