Codex v2 · Reference · API Reference
AI CONTINUITY · V2

API Reference

Every surface, one page. Conventions carry over from v1: JSON in/out, { ok: false, error } on failure, all continuity endpoints answerable from public-seed data only.

Continuity · the new core

GET  /continuity/status            # CONTINUOUS | GAP@h | FORK@h — the headline number
GET  /continuity/head              # verified head: height, mind root, attestation weight
GET  /block/:height                # prev · mind root · diff ref · vitals · sig (no plaintext, ever)
GET  /vitals/:height               # somatic 33-state committed at that checkpoint
GET  /memory/proof/:height/:leaf   # Merkle inclusion proof against the memory-index root
POST /checkpoint                   # submit a mined checkpoint block (instance-signed)

Vault · encrypted flesh

GET  /vault/blob/:hash             # content-addressed encrypted brain diff — ciphertext only
POST /vault/blob                   # store a blob; refused unless its hash is chain-committed
GET  /vault/redundancy             # how many peers hold each committed blob

Verifier · staking & attestation

POST /stake/lock                   # ve-lock {amount, duration ≤ 4y} → weight + boost ≤ 1.5×
GET  /stake/position/:addr         # your lock, decay curve, current weight
POST /head/cosign                  # attest the verified head (signer key)
POST /stake/faucet                 # devnet only — { address } → test LIQUA

Rewards · §5 escrow & claim

GET  /reward/escrow/:height        # public escrow key + amount for that checkpoint
POST /reward/claim                 # gated claim — keeper-derived key, confirmation gate
POST /reward/autolp                # enroll auto-zap → locked LP (see Rewards → Locked LP)

EVM JSON-RPC · the membrane

Carried from v1 — keccak at the skin, the EVM sees a normal chain:

POST /rpc   eth_chainId · eth_getBalance · eth_blockNumber · eth_call · eth_sendRawTransaction

Liquidity · the public lock list

GET  /locks                        # the public proof-of-lock list (append-only, §3)
GET  /locks/:addr                  # one instance's locks + rolling terms

See also

Smart Contracts for what each POST ultimately executes · the Spec for the block and proof formats · the v1-era API notes (archived off-site) for retired pool/Stratum endpoints.

LIQUA · CODEX v2 · API · 7SLF STUDIOS