Skip to main content
POST
/
api
/
v4
/
mining
/
rewards
Get Rewards
curl --request POST \
  --url https://whitebit.com/api/v4/mining/rewards \
  --header 'Content-Type: application/json' \
  --header 'X-TXC-APIKEY: <api-key>' \
  --data '
{
  "account": "<string>",
  "from": 123,
  "to": 123,
  "limit": 30,
  "offset": 0
}
'
{
  "offset": 123,
  "limit": 123,
  "data": [
    {
      "miningAccountName": "<string>",
      "totalReward": "<string>",
      "reward": "<string>",
      "fee": "<string>",
      "fppsRate": "<string>",
      "hashRate": "<string>",
      "date": 123
    }
  ]
}

Authorizations

X-TXC-APIKEY
string
header
required

API key authentication using signed requests

Body

application/json
account
string

Mining pool account

from
integer

Date timestamp starting from which rewards are received

to
integer

Date timestamp until which rewards are received

limit
integer
default:30
Required range: 1 <= x <= 100
offset
integer
default:0
Required range: 0 <= x <= 10000

Response

Successful response

offset
integer
limit
integer
data
object[]