Get the stablecoins circulating on a chain
/v1/chains/{chain}/defi/stablecoinsCall this for the USD-pegged stablecoins on a chain: the 15 largest by circulating dollars, and the daily total supply over the last 365 days. total_usd is the larger of the last point of history (DefiLlama's stablecoin chart) and the sum of every USD-pegged stablecoin of the chain from DefiLlama's coin list, not only the listed ones, so it is never below the sum of items and a coin's share of it is at most 100%. It can be above that sum, because the chart counts more, and above the last point of history, because the two datasets move at different times. The last history item is the current UTC day. The route takes no query parameters. The figures are read from DefiLlama every hour. Sona keeps an answer for 10 minutes.
Path parameters
| Name | Type | Description |
|---|---|---|
chainRequired | string | The chain, as a CAIP-2 chain ID. Ethereum, |
Response
The answer, wrapped in the {data, meta, links} envelope.
| Field | Type | Description |
|---|---|---|
| chain | string | A chain ID in the CAIP-2 format |
| coverage | array of strings | The codes of the limits that apply to this answer, in a fixed order. It is empty when none applies. |
| history | array of objects | Up to the last 365 days, oldest first. |
| items | array of objects | The 15 largest USD-pegged stablecoins on the chain, largest first. |
| kind | string | chain_stablecoins |
| total_usd | number | The larger of the last point of |
Cost
1 credit. The time limit is 5 seconds.
Errors
| Status | Code |
|---|---|
| 400 | invalid_idinvalid_query |
| 404 | unsupported_chain |
| 429 | rate_limitedcredits_exhausted |
| 500 | internal |
| 503 | upstream_unavailable |
| 504 | deadline_exceeded |
400 invalid_id, 400 invalid_query for any query key, 404 unsupported_chain, 429 rate_limited or credits_exhausted, 503 upstream_unavailable before the first refresh, and 504 deadline_exceeded.