xmrig-proxy icon indicating copy to clipboard operation
xmrig-proxy copied to clipboard

Deciphering API Data

Open OlMi1 opened this issue 3 years ago • 0 comments

Hi, the /1/workers endpoint returns data like this (only workers is shown). But what do the lines actually mean? And are they dependent on one another? I wrote my guesses next to it but I am not sure, any help is appreciated, especially at the ? sections although a quick fact check of the known sections would be appreciated! (GitHubs json highlighting will propably mark my notes red) Thanks!

"workers":[
      [
         ...
      ],
      [
         "48LszLe98KgS1H...",  >Worker  address
         "127.0.0.1", > Worker IP
         1, > ?
         333, > ?
         0, > ?
         0, > ?
         22741532, > ?
         1654803314143, > Unix timestamp
         2.41, > Hashrate 1m
         2.83, > Hashrate 10m
         2.18, > Hashrate 1h
         0.52, > Hashrate 12h
         0.26 > Hashrate 24h
      ]
   ]

OlMi1 avatar Jun 09 '22 19:06 OlMi1