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.
17 lines
510 B
JSON
17 lines
510 B
JSON
{
|
|
"jsonrpc": "2.0",
|
|
"id": 1,
|
|
"result": {
|
|
"txID": "2asiyKwFzyNJRDswfQTdNMPLav5fCVkYn7xt7od37EDmi4eqfG",
|
|
"netID": "kZN2L6Vp9bRBqnpQyV5HRm9p1zP9Q1yQ4n4oRT8sNUyPyYJrK",
|
|
"chains": [
|
|
{
|
|
"id": "S5bq8gFMnitrJzq55zBPiMX1MAhRQFRZXWXWhqVXBi3ViRR3b",
|
|
"name": "primary evm",
|
|
"vmID": "EVM11111111111111111111111111111111LpoYY"
|
|
}
|
|
],
|
|
"changeAddr": "P-lux15953qfaga3w5txjmr0fl4clu37kak0ah4gjprr"
|
|
}
|
|
}
|