Stablecoin intelligence ($0.002)
stablecoin_intelPAID ($0.002 USDC via x402). Supply, peg health and per-chain breakdown for USDC and other stablecoins: total circulating supply, deviation from the $1.00 peg, peg mechanism, the amount circulating on Base (with its share of total) and the top chains by supply (DefiLlama). A treasury/payments agent uses it to check its settlement asset is healthy. Without payment this returns the 402 challenge; the fiatdock-mcp npm package pays automatically.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset | No | Stablecoin symbol (default USDC), e.g. USDC, USDT, DAI, USDe | |
| payment | No | Base64 of a single x402 v2 PaymentPayload (EIP-3009 transferWithAuthorization on Base USDC). OMIT it on the first call: the 402 you get back carries `howToPay.payloadTemplate` — the exact envelope to fill in — plus the price and the EIP-712 domain. Send it on the second call to complete the purchase; it is forwarded as the PAYMENT-SIGNATURE header, never as body data. Nothing is charged for the 402 itself, and a call that fails after payment settles nothing. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asOf | Yes | ISO 8601 time the snapshot was read | |
| name | No | Stablecoin full name | |
| note | No | Human-readable caveat about the snapshot, if any | |
| asset | Yes | Stablecoin symbol | |
| price | Yes | Current price in USD | |
| onBase | Yes | Circulating supply on Base + its share of total | |
| source | Yes | Data source (e.g. DefiLlama) | |
| pegType | No | What the asset is pegged to (e.g. peggedUSD) | |
| pegStatus | Yes | on-peg | slight-deviation | off-peg | unknown | |
| topChains | Yes | Top chains by circulating supply | |
| pegMechanism | No | e.g. fiat-backed, crypto-backed, algorithmic | |
| pegDeviationPct | Yes | Absolute deviation from $1.00, % | |
| totalCirculatingUsd | Yes | Total circulating supply (USD) |