CoinMarketCap API icon

CoinMarketCap API

Accède aux données de cryptomonnaies via l'API CoinMarketCap - Prix, marchés, historiques

Get Blockchain Statistics Latest

AI-generated

Overview

This node operation retrieves the latest statistics of a specified blockchain using the CoinMarketCap API. It is useful for users who want to get up-to-date blockchain metrics such as transaction counts, block counts, and other relevant blockchain data. For example, a user can fetch the latest statistics for Bitcoin by providing its blockchain ID (e.g., 1).

Use Case Examples

  1. Fetch the latest statistics for Bitcoin by setting the Blockchain ID to 1.
  2. Retrieve current blockchain metrics for Ethereum by providing its blockchain ID.

Properties

Name Meaning
Blockchain ID The ID of the blockchain to retrieve statistics for (e.g., 1 for Bitcoin). This is a required string input.

Output

JSON

  • json
    • data - The latest blockchain statistics data returned from the CoinMarketCap API.

Dependencies

  • CoinMarketCap API key credential required for authentication.

Troubleshooting

  • Common issues include invalid or missing API key, resulting in authentication errors.
  • Providing an incorrect or unsupported blockchain ID may cause the API to return an error or empty data.
  • Network connectivity issues can prevent successful API calls.

Links

Discussion