API

CCDExplorer.io has an API environment deployed at:

Use Url Documentation
Production https://api.ccdexplorer.io Link
Development https://dev-api.ccdexplorer.io Link


Example endpoints
Name: Get Transaction
Description: This endpoint gets information from a transaction using its hash.


Parameters:
* {net} is mainnet or testnet
* {tx_hash} is the transaction hash
Name: Get Transaction Logged Events
Description: This endpoint gets logged events for a transaction as stored in MongoDB collection tokens_logged_events. Note that only logged events are stored that are relevant for token accounting, so mint, transfer, burn and metadata. See http://proposals.concordium.software/CIS/cis-2.html for further details on these events.


Parameters:
* {net} is mainnet or testnet
* {tx_hash} is the transaction hash
Name: Get Account Tokens
Description: This endpoint gets all tokens for a given account, as stored in MongoDB collection tokens_links_v2.


Parameters:
* {net} is mainnet or testnet
* {account_address} is the account address
Name: Add Token Address Without Token Id To Metadata Refresh Queue
Description: This endpoint refreshes the metadata for a fungible token (so no token_id) by requesting the metadata_url again.

Example:

Parameters:
* {net} is mainnet or testnet
* {contract_index} is the contract index
* {contract_subindex} is the contract subindex
Name: Add Token Address To Metadata Refresh Queue
Description: This endpoint refreshes the metadata for an NFT by requesting the metadata_url again.

Example:

Parameters:
* {net} is mainnet or testnet
* {contract_index} is the contract index
* {contract_subindex} is the contract subindex
* {token_id} is the token id


Release: 2024.12
Support CCDExplorer.io Uptime Backend Status CCDExplorer is supported by AesirX - Decentralized Consent & Data Ownership