FAQ
Why don't I see any data when using the indexer API?
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 group to ask for support.
How do I switch between Testnet and Mainnet?
You need to adjust the INDEXER_API
variable to point to the appropriate base URL. For Testnet, use https://indexer-ckb-720a.utxo.global
, and for Mainnet, use https://indexer.utxo.global
.
What is the rate limit for API calls?
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.
How do I get access to the API?
You need to register through the Google Form provided for either Testnet or Mainnet. Once registered, you will receive an API key for the appropriate network.
What should I do if I encounter unexpected behavior?
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 Telegram.
Last updated