CoinGecko API icon

CoinGecko API

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

Get Coin Contract

AI-generated

Overview

This node operation retrieves detailed information about a cryptocurrency by its coin ID and contract address on a specified asset platform using the CoinGecko API. It is useful for users who want to fetch specific contract-related data for a coin, such as token details on Ethereum or other blockchains.

Use Case Examples

  1. Fetch detailed contract information for a specific token on the Ethereum platform by providing the coin ID, asset platform ID (e.g., 'ethereum'), and the token's contract address.
  2. Retrieve contract data for a cryptocurrency to analyze token metadata or verify contract details.

Properties

Name Meaning
Asset Platform ID The ID of the asset platform (blockchain) where the token contract is deployed, e.g., 'ethereum'.
Contract Address The contract address of the token on the specified asset platform.
Coin ID The unique identifier of the cryptocurrency (coin) for which contract information is requested.

Output

JSON

  • json - The JSON response containing detailed information about the cryptocurrency contract fetched from the CoinGecko API.

Dependencies

  • CoinGecko public API

Troubleshooting

  • Ensure the Asset Platform ID and Contract Address are correct and correspond to the coin ID provided; otherwise, the API may return an error or no data.
  • If the node throws an 'Operation not supported' error, verify that the operation name is correctly set to 'getCoinContract'.
  • Network or API connectivity issues may cause request failures; check internet connection and API availability.

Links

Discussion