# Treasury Preflight - Stablecoin Transfer Fee Quotes

> Treasury Preflight - Stablecoin Transfer Fee Quotes is a paid API for AI agents from preflight.admapu.xyz, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-16).

Returns real-time gas fee quotes for stablecoin (USDC/USDT) transfers across supported EVM chains, including gas units, USD cost, and quote validity window.

## Facts

- Endpoint: GET https://preflight.admapu.xyz/v1/fees?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/treasury-preflight-stablecoin-transfer-fee-quotes-186b288a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_X_A_7GieCBKi_eoxRQ6JJ

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability treasury-preflight-stablecoin-transfer-fee-quotes-186b288a
```

Example prompt: 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.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

x402-paid preflight checks for stablecoin transfers.

## Output

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).

## Request schema (JSON Schema)

```json
{
 "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"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "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
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/treasury-preflight-stablecoin-transfer-fee-quotes-186b288a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from preflight.admapu.xyz](https://www.zero.xyz/host/preflight.admapu.xyz/llms.txt)
