Post
Topic
Board Mining (Altcoins)
Re: cryptoGlance [v2.0.2] :: Open-source, self-hosted, multi-rig monitoring tool!
by
vabchgent
on 16/04/2015, 23:42:42 UTC
@cryptoglance - What does the api look like for ant pool in http format. I would like to mess with it a little. Thanks
@vabchgent This is the data cryptoglance works with (I'm currently not mining to it so some data is defaulted to 0)
Code:
Array
(
    [poolStats] => Array
        (
            [poolHashrate] => 54215080179.363341
            [activeWorkerNumber] => 295979
            [poolStatus] => Alive
            [networkDiff] => 49446390688.2414
            [estimateTime] => 3939
            [currentRound] => 5777
            [totalShareNumber] => 143460818442668
            [totalBlockNumber] => 3413
        )

    [account] => Array
        (
            [earn24Hours] => 0.00000000
            [earnTotal] => 0.00620567
            [paidOut] => 0.00520926
            [balance] => 0.00099641
        )

    [hashrate] => Array
        (
            [last10m] => 0
            [last30m] => 0
            [last1h] => 0
            [last1d] => 0
            [prev10m] => 0
            [prev30m] => 0
            [prev1h] => 0
            [prev1d] => 0
            [accepted] => 0
            [stale] => 0
            [dupelicate] => 0
            [other] => 0
        )

)
*Note, hashrate is in MH/s.

You can find API documentation on the Antpool website as well: https://www.antpool.com/user/apiGuild.htm

I am trying the antpool api and I enter my key and secret key -User id is my id I use on there site for mining. But goes grey and says pool is not available. Thanks