Actions20
- Bridge Actions
- Category Actions
- Chain Actions
- DEXs & Volume Actions
- Fees & Revenue Actions
- Hack Actions
- Oracle Actions
- Protocol Actions
- Raise Actions
- Stablecoin Actions
- TVL Actions
- Yield Actions
Overview
The node integrates with the DefiLlama API to fetch historical market cap chart data for a specific stablecoin. It is designed to retrieve time-series data representing the market capitalization trends of stablecoins over time.
This operation is beneficial in scenarios where users want to analyze the historical performance and market dynamics of stablecoins, such as Tether or others identified by their stablecoin ID. For example, a DeFi analyst might use this node to track how the market cap of a stablecoin has evolved during certain periods to assess stability or growth patterns.
Properties
| Name | Meaning |
|---|---|
| Stablecoin ID | The unique identifier of the stablecoin to query (e.g., "1" for Tether). |
| Additional Fields | A collection of optional parameters: |
| - Max Results | Maximum number of results to return (1-100). |
| - Min Market Cap | Minimum market capitalization threshold in USD to filter stablecoins. |
| - Include Pegged Assets | Whether to include pegged assets in the stablecoin results (true/false). |
| - AI Agent Mode | Whether to optimize output format for AI agents (simplified and structured) (true/false). |
| - Include Summary | When AI Agent Mode is enabled, whether to include a human-readable summary (true/false). |
Note: For the "Get Stablecoin Charts" operation specifically, only the "Stablecoin ID" property is required and used directly. Other additional fields are available for other operations or resources but do not affect this operation.
Output
The node outputs JSON data containing the historical market cap charts for the specified stablecoin. The structure includes:
- Time-series data points representing market cap values over time.
- Metadata about the resource ("stablecoins"), operation ("getStablecoinCharts"), and timestamp of data retrieval.
- Formatted fields may be included for easier readability (e.g., formatted currency strings).
If AI Agent Mode is enabled, the output will be simplified and structured for AI consumption, including an optional human-readable summary describing the data.
The node does not output binary data.
Dependencies
- Requires access to the DefiLlama API endpoint at
https://stablecoins.llama.fi/stablecoincharts/all. - Optionally uses an API key credential if provided, sent as a Bearer token in the Authorization header.
- No mandatory credentials are required; the API can be accessed without authentication but may have rate limits.
- No special environment variables are needed beyond standard HTTP connectivity.
Troubleshooting
- Missing or invalid Stablecoin ID: The node requires a valid stablecoin ID string. If omitted or empty, the node will throw an error indicating that the Stablecoin ID is required.
- API request failures: Network issues or API downtime can cause errors. Check internet connectivity and DefiLlama service status.
- Unexpected response format: If the API changes its response structure, the node may fail to parse data correctly.
- Rate limiting: Without an API key, requests may be limited. Consider providing an API key credential if available.
- AI Agent Mode output confusion: When enabled, the output format changes significantly. Disable AI Agent Mode if raw data is preferred.
Links and References
This summary is based solely on static analysis of the provided source code and input properties definition.