mirror of
https://github.com/luxfi/openapi.git
synced 2026-10-30 15:23:31 +00:00
Canonical OpenAPI v3.1 specification for the Lux core protocol APIs. Pinned to node v1.28.5 (git commit 6ca9b391e9f907a523f8718e4e555bdd25afe4cd). 10 yaml files covering: P-Chain, X-Chain, C-Chain (primary EVM), info, admin, health, metrics, keystore, warp, zap. P-Chain spec documents the v1 atomic primitive platform.createSovereignL1 - registers a new sovereign L1 (network ID + genesis validator set + chain manifest + on-chain validator-manager address) in a single tx that either lands wholly or reverts wholly. Every method description cites the canonical implementation file:line. Fixtures captured live from api.lux.network on 2026-05-31. v1 is the lock. No deprecation surface. No v2.
8 lines
86 B
JSON
8 lines
86 B
JSON
{
|
|
"jsonrpc": "2.0",
|
|
"result": {
|
|
"networkID": "1"
|
|
},
|
|
"id": 1
|
|
}
|