Skip to main content

API Overview

The ACDC network exposes multiple API interfaces for interacting with both Alpha and Delta chains. This section provides comprehensive documentation for all available APIs.

Available APIs

API TypeProtocolUse Case
JSON-RPCHTTP/HTTPSStandard blockchain queries and transactions
RESTHTTP/HTTPSRESTful access to chain data
WebSocketWS/WSSReal-time subscriptions and event streaming

Endpoints

Alpha Chain (UTXO/Privacy)

NetworkJSON-RPCWebSocket
Mainnethttps://alpha-rpc.ac-dc.networkwss://alpha-ws.ac-dc.network
Testnethttps://alpha-testnet.ac-dc.networkwss://alpha-testnet-ws.ac-dc.network

Delta Chain (Account/DeFi)

NetworkJSON-RPCWebSocket
Mainnethttps://delta-rpc.ac-dc.networkwss://delta-ws.ac-dc.network
Testnethttps://delta-testnet.ac-dc.networkwss://delta-testnet-ws.ac-dc.network

Authentication

Public endpoints require no authentication for read operations. Write operations (submitting transactions) are signed client-side and do not require API keys.

For rate-limited access, you can request an API key:

# Request API key (optional, for higher rate limits)
curl -X POST https://api.ac-dc.network/v1/keys \
-H "Content-Type: application/json" \
-d '{"email": "developer@example.com"}'

Rate Limits

TierRequests/secDaily Limit
Public1010,000
Registered100100,000
EnterpriseUnlimitedUnlimited

Response Format

All API responses follow a consistent JSON structure:

{
"jsonrpc": "2.0",
"id": 1,
"result": { ... }
}

Error responses include an error object:

{
"jsonrpc": "2.0",
"id": 1,
"error": {
"code": -32600,
"message": "Invalid request",
"data": "Additional error details"
}
}

Next Steps