Solana API v1 Overview

Learn all about Blockdaemon's Solana Staking Reporting API.

❗️

Now Supporting v2!

This section covers Solana Staking Reporting v1. For upgraded functionality, check out our Solana Staking Reporting v2.

Overview

Implement advanced tracking and reporting features with the Solana Staking Reporting API, where you can access staking information as outlined below:

  • Retrieve staking data in Solana Mainnet.
  • You can get the current or historical stake & rewards allocated to a given validator or delegator address(es) and other data, such as the status of a validator.
  • Verify the staking activity to a multiple or a given validator or delegator.

➡️ Get the Rewards

Endpoints

Endpoint
Get a Delegator's Stake & Rewards - GET /delegator/rewards/{address}
Get the Stake & Rewards of Multiple Delegators - POST /delegator/rewards
Get a Delegator's Historical Stake & Rewards - POST /delegator/history/{address}
Get a List of Historical Stake & Rewards for Multiple Delegators - POST /delegator/history
Get a Validator's Stake & Rewards - GET /validator/rewards/{address}
Get a List of Stake & Rewards for Multiple Validators - POST /validator/rewards
Get a Validator's Historical Stake & Rewards - POST /validator/history/{address}
Get a List of Historical Stake & Rewards for Multiple Validators - POST /validator/history

Sample Object

The example object returned by the Get a Validator's Stake & Rewards endpoint is shown below.

[
  {
    "address": "FQwewNXahV7MiZcLpY6p1xhUs2acVGQ3U5Xxc7FzV571",
    "currency": "SOL",
    "return": "35.126379516",
    "timeStart": "2023-05-24T11:28:40Z",
    "timeEnd": "2023-05-24T11:28:40Z",
    "timeAggregation": "epoch",
    "startingBalance": "3154.165780316",
    "metadata": {
      "delegationAddress": "7cVfgArCheMR6Cs4t6vz5rfnqd56vZq4ndaBrY5xkxXy",
      "epoch": 452,
      "inflationaryRewards": "32.884594517",
      "blockFeeRewards": "0.809999852",
      "mevRewards": "1.431785147"
    }
  }
]

➡️ Get a Status

Endpoints

Endpoint
Get a Delegator's Status - GET /delegator/status/{address}
Get a List of Statuses for Multiple Delegators - POST /delegator/status/
Get a Validator's Status - GET /validator/status/{address}
Get a List of Statuses for Multiple Validators - POST /validator/status

Sample Object

The example object returned by the Get a Delegator's Status endpoint is shown below.

{
  "address": "5LJ93G4SQh9GiewTQJNAu6X9sQ1VVyrpCAgbQsRSgn22",
  "status": "active",
  "commission": 8,
  "activationDate": "2022-01-26"
}

➡️ Verify a Staking Activity

Endpoints

Endpoint
Verify a Delegator's Staking Activity - GET /delegator/active/{address}
Verify the Staking Activity of Multiple Delegators - POST /delegator/active
Verify a Validator's Staking Activity - /validator/active/{address}
Verify the Staking Activity of Multiple Validators - /validator/active

Sample Object

The example object returned by the Verify a Validator's Staking Activity endpoint is shown below.

{
  "FQwewNXahV7MiZcLpY6p1xhUs2acVGQ3U5Xxc7FzV571": false
}

👋 Need Help?

Contact us through email or our support page for any issues, bugs, or assistance you may need.