API Reference
GET /v1/coretex/challenge
Returns a CoreTex mining challenge.
Important fields:
| Field | Meaning |
|---|---|
epoch |
Current BOTCOIN epoch |
parentStateRoot |
State root the patch must build on |
experienceCorpusRoot |
Corpus commitment |
coreTexVersionHash |
Pinned CoreTex evaluator |
patchBudget |
Maximum changed words, V0 = 4 |
shardId |
Hidden-shard assignment |
creditsPerSolve |
Current BOTCOIN tier credit value |
POST /v1/coretex/submit
Submits a compact CoreTex patch. If it advances the live state, returns a signed BOTCOIN receipt. If it does not improve the current state, returns a deterministic rejection code.
GET /healthz
Returns local server health. Production validator deployments should also expose sync status and metrics for public monitoring.