GET api/Miner/{id}

Get miner info

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

address

string

Required

Body Parameters

None.

Response Information

Resource Description

MinerStat
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

Time

date

None.

Username

string

None.

Hashrate

integer

None.

HashrateRejected

integer

None.

MinerType

string

None.

Balance

decimal number

None.

Paid

decimal number

None.

SharesAccepted

integer

None.

SharesRejected

integer

None.

SharesPaid

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": "552d8dbe-d15a-4d1d-a7be-b940de7379b3",
  "Time": "2017-09-25T04:14:49.3595291+00:00",
  "Username": "sample string 3",
  "Hashrate": 4,
  "HashrateRejected": 5,
  "MinerType": "sample string 6",
  "Balance": 7.0,
  "Paid": 8.0,
  "SharesAccepted": 9,
  "SharesRejected": 10,
  "SharesPaid": 11
}

application/xml, text/xml

Sample:
<MinerStat xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SudoDB">
  <Balance>7</Balance>
  <Hashrate>4</Hashrate>
  <HashrateRejected>5</HashrateRejected>
  <Id>552d8dbe-d15a-4d1d-a7be-b940de7379b3</Id>
  <MinerType>sample string 6</MinerType>
  <Paid>8</Paid>
  <SharesAccepted>9</SharesAccepted>
  <SharesPaid>11</SharesPaid>
  <SharesRejected>10</SharesRejected>
  <Time xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2017-09-25T04:14:49.3595291Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
  </Time>
  <Username>sample string 3</Username>
</MinerStat>