๐ Quick Start
Get started with the XAI Testnet in minutes.
๐ API Reference
The XAI RPC API provides programmatic access to the blockchain.
# RPC Endpoint
https://testnet-rpc.xaiblockchain.com
# Example: Get node info
curl https://testnet-rpc.xaiblockchain.com/
# Example: Get balance
curl https://testnet-rpc.xaiblockchain.com/balance/XAI...
For interactive API documentation, visit the Swagger UI.
๐ก Key Endpoints
- GET / Node info and available endpoints
- GET /stats Blockchain statistics
- GET /blocks List blocks (paginated)
- GET /blocks/{index} Get specific block
- GET /balance/{address} Get address balance
- GET /history/{address} Transaction history
- POST /send Submit transaction
- POST /faucet/claim Claim testnet tokens