Skip to main content
GET
/
v1
/
io-blocks
/
devices
/
{device_id}
/
block-rewards-summary
/
{from_date}
/
{to_date}
Block Rewards Summary
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": []
}

Documentation Index

Fetch the complete documentation index at: https://io.net/docs/llms.txt

Use this file to discover all available pages before exploring further.

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

Unique identifier for your device.

from_date
string
required

The start date for the block reward info (YYYY-MM-DD).

to_date
string
required

The end date for the block reward info (YYYY-MM-DD).

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
array