Skip to content

Comments

feat: add GET /auth/miners endpoint#13

Open
paragmore wants to merge 4 commits intotetherto:developfrom
paragmore:feat/api-v2-miners-list
Open

feat: add GET /auth/miners endpoint#13
paragmore wants to merge 4 commits intotetherto:developfrom
paragmore:feat/api-v2-miners-list

Conversation

@paragmore
Copy link

@paragmore paragmore commented Feb 19, 2026

Unified miner listing endpoint that replaces direct listThings RPC calls from the frontend.

  • Clean field name mapping for filters, sorts, and projections (firmware instead of
    last.snap.config.firmware_ver)
  • Field projection filters response to only requested fields — excludes unrequested fields like hashrate,
    power, efficiency
  • Overfetch offset + limit from each ork with parallel lightweight count query ({id:1}) for accurate
    totalCount
  • Batch fetching when requested page exceeds RPC_PAGE_LIMIT
  • App-node side sorting across multi-ork results
  • Optional pool hashrate enrichment via getWrkExtData

@paragmore paragmore changed the title Add new miners list endpoint feat: add GET /auth/miners endpoint Feb 19, 2026
@paragmore paragmore marked this pull request as ready for review February 19, 2026 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants