API Reference

All endpoints return JSON. Base URL: http://pool.modeloslab.xyz

Pool
GET/statsPool overview, active miners, unpaid queue, block height
GET/minersTop 50 miners by PPLNS share weight
GET/miners/{address}Miner detail: shares, hashrate history, MDL + PRL payments, inference wins
Blocks & Shares
GET/blocks?limit=50Recent blocks found — includes both MDL reward and PRL reward (AuxPoW)
GET/shares?limit=100Recent shares with hash and difficulty
Payments
GET/paymentsAll payment records (MDL + PRL). Filter: ?currency=MDL|PRL
GET/payments/{txid}All recipients in one payout batch
AuxPoW / Pearl
GET/stats → pool.auxpow_enabledWhether AuxPoW is active — MDL + PRL both rewarded
GET/stats → stats.paid_prl_grainsTotal PRL distributed to miners via AuxPoW
GET/blocks → prl_reward_coinsPRL reward for each block (non-zero when AuxPoW block found)
GET/miners/{addr} → payment_historyPRL payments appear with currency='PRL'
Inference
GET/inference/minersActive inference miners by model version (from on-chain proof wins)
GET/inference/feesLive fee suggestions: slow / standard / fast percentiles
GET/inference/raceRecent inference fee race results — winner per job
GET/inference/{prompt_hash}Inference job status: pending / fulfilled / refunded
Utilities
GET/lookup/{query}Universal lookup: MDL address / PRL address / txid / block hash
GET/start?mdl=…&prl=…Pre-filled miner command (text/plain)
GET/healthLiveness probe