FAQ

chevron-rightWhy don't I see any data when using the indexer API?hashtag

First, make sure that your node is synced to the latest block. You can check the tip by calling the following node RPC:

curl --location 'https://testnet-ckb-720a.utxo.global' \
--header 'Content-Type: application/json' \
--data '{
  "id": 42,
  "jsonrpc": "2.0",
  "method": "get_indexer_tip",
  "params": []
}'

This command will return the current tip of the indexer. If you're not at the latest block, the data might not be available. If the issue persists, please join our Telegram grouparrow-up-right to ask for support.

chevron-rightHow do I switch between Testnet and Mainnet?hashtag

You need to adjust the INDEXER_API variable to point to the appropriate base URL. For Testnet, use https://indexer-ckb-720a.utxo.globalarrow-up-right, and for Mainnet, use https://indexer.utxo.globalarrow-up-right.

chevron-rightWhat is the rate limit for API calls?hashtag

The rate limit depends on your API key. The Basic key allows up to 60 requests per minute, while the Pro key offers higher limits and additional endpoints.

chevron-rightHow do I get access to the API?hashtag

You need to register through the Google Formarrow-up-right provided for either Testnet or Mainnet. Once registered, you will receive an API key for the appropriate network.

chevron-rightWhat should I do if I encounter unexpected behavior?hashtag

If you encounter any issues or unexpected behavior, first verify that your node is synced by checking the indexer tip (as mentioned in the first question). If everything appears correct and the issue persists, reach out to the support team on Telegramarrow-up-right.

Last updated