Skip to main content
GET
/
v1
/
io-blocks
/
devices
/
{device_id}
/
block-rewards-summary
/
{from_date}
/
{to_date}
Block Rewards Details
curl --request GET \
  --url https://api.io.solutions/v1/io-blocks/devices/{device_id}/block-rewards-summary/{from_date}/{to_date} \
  --header 'Authorization: Bearer <token>'
{
  "device_id": "00fd3995-9bf3-4371-87fd-91237a8248ed",
  "total_block_rewards": 0,
  "total_blocks_earned": 0,
  "total_blocks_failed": 0,
  "total_blocks_missed": 0,
  "datewise_earnings_summary": []
}
The Block Rewards Details endpoint returns insights about the block rewards associated with a specific device. This includes, but isn’t limited to, successful rewards, failed and missed rewards, and an earnings summary.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

device_id
string
required

The unique identifier for your device.

from_date
string
required

The start date for the block reward info.

to_date
string
required

The start date for the block reward info.

Response

200

device_id
string
Example:

"00fd3995-9bf3-4371-87fd-91237a8248ed"

total_block_rewards
integer
default:0
Example:

0

total_blocks_earned
integer
default:0
Example:

0

total_blocks_failed
integer
default:0
Example:

0

total_blocks_missed
integer
default:0
Example:

0

datewise_earnings_summary
any[]
I