Reference
Reference
API documentation and CLI reference for Lux Network
Reference
Complete API and CLI documentation for Lux Network.
APIs
JSON-RPC API
Ethereum-compatible JSON-RPC endpoints
Platform API
P-Chain platform API reference
Info API
Node information and status
Health API
Health check endpoints
CLI Reference
Global Flags
--network Network to use (mainnet, testnet, local)
--config Path to configuration file
--log-level Logging level (debug, info, warn, error)Common Commands
| Command | Description |
|---|---|
lux init | Initialize a new project |
lux dev | Start local development network |
lux deploy | Deploy contracts |
lux validator | Manage validators |
lux subnet | Manage subnets |
Network Endpoints
Mainnet
RPC: https://api.lux.network/ext/bc/C/rpc
WebSocket: wss://api.lux.network/ext/bc/C/ws
Chain ID: 96369Testnet
RPC: https://api.testnet.lux.network/ext/bc/C/rpc
WebSocket: wss://api.testnet.lux.network/ext/bc/C/ws
Chain ID: 96368