API
DAIT speaks four wire protocols: Cosmos REST, Cosmos gRPC, raw Tendermint RPC, and EVM JSON-RPC. All four point at the same underlying state; pick whichever matches your tooling.
Endpoints
| Protocol | URL (Phase 1 testnet) | Best for |
|---|---|---|
| EVM JSON-RPC | https://rpc.daitchain.io | MetaMask, ethers, viem, web3.js, web3.py |
| Cosmos REST | https://api.daitchain.io | browsers, generic HTTP clients |
| Cosmos gRPC | grpc.daitchain.io:9090 | indexers, bots, high-throughput backend |
| Tendermint RPC | https://rpc.daitchain.io:26657 | raw block / tx / validator info |
| WebSocket events | wss://rpc.daitchain.io/websocket | NewBlock / Tx subscriptions |
| State sync | :26657 (statesync) | fast new-validator catch-up |
Phase 1 testnet endpoints go live with the devnet alpha (Q3 2026).
Until then, use the local devnet from the quickstart:
EVM JSON-RPC at
http://127.0.0.1:8545, REST at :1317,
gRPC at :9090, Tendermint RPC at :26657.
ChainIDs
| Network | Cosmos chain-id | EVM chainID |
|---|---|---|
| Devnet | dait_4090-1 | 4090 |
| Testnet | dait_4090-2 | 4090 |
| Mainnet | dait_1-1 | 1 (negotiation pending) |
Authentication
Public read endpoints are unauthenticated. Write endpoints require a signed transaction; signing is handled in your wallet (Keplr for Cosmos, MetaMask for EVM) or in the SDK.
Rate limits
Phase 1 caps: 100 req/s per IP for unauthenticated REST, 1,000 req/s per IP for gRPC, no per-IP cap on WebSocket subscriptions but a 1,000-channel ceiling per node. Mainnet limits are governance-tunable.