{"uid":"cap_itEx4DrOPYZHvCT5bwwsK","slug":"stablecoin-circulating-supply-with-on-chain-cross-check-b4278a99","name":"Stablecoin Circulating Supply with On-Chain Cross-Check","description":"Supply facet for a stablecoin: total circulating supply plus the per-chain breakdown from DefiLlama, cross-checked against an INDEPENDENT on-chain ERC-20 totalSupply read of the curated contract, with a divergence flag when the two disagree beyond a tolerance. Cited to both the open-data source and public on-chain state.","url":"https://api.agentstools.dev/stablecoin/supply","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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":[],"properties":{"chain":{"type":"string","description":"Chain to prefer for the on-chain cross-check"},"symbol":{"type":"string","description":"Stablecoin ticker or DefiLlama id"},"address":{"type":"string","description":"Contract address (alternative)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.008","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.008/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ZhtWaHiGk7f7WBz6Gu4mF","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.008","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the total circulating supply and per-chain breakdown of a stablecoin from DefiLlama, cross-validated against a live on-chain ERC-20 totalSupply read, with a divergence flag if they disagree beyond tolerance.","exampleAgentPrompt":"What's the current total circulating supply of USDC, broken down by chain, and does the DefiLlama number match what the on-chain contract actually shows? Check on Ethereum if you need to pick a chain for the cross-check.","exampleUseCases":null,"resultDescription":"Returns total circulating supply of the requested stablecoin, a per-chain breakdown sourced from DefiLlama, the on-chain ERC-20 totalSupply read from the curated contract on the specified chain, and a divergence flag indicating whether the two sources disagree beyond an acceptable tolerance, with citations to both data sources.","failureModes":["Unknown stablecoin symbol or id returns a 404 or error indicating the token was not found","Unsupported chain for on-chain cross-check may return partial data without the on-chain verification component","Contract address not found or malformed returns an error","DefiLlama data temporarily unavailable may result in incomplete breakdown","RPC/on-chain read failure may return DefiLlama data only with a note that on-chain cross-check failed"],"whenToPreferThis":"Use this endpoint when you need both an aggregated multi-chain circulating supply figure AND independent on-chain verification in a single call. Prefer this over a plain DefiLlama query when data integrity and source divergence detection matter, or when you need to cite both off-chain aggregated and raw on-chain state for a stablecoin supply figure.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:58:44.756Z","isFirstParty":false}