Rewards

Returns rewards (protocol and MEV) and balances for all stake accounts.

Rewards are "net", aka after onchain validator commission.

The response payload is broken down by epoch and staking account.

Max 50 accounts per request.

General feature described in Rewards Overview

Search by stake account

Search by stake authority

Search by withdraw authority

Search by groups

Response Format

``200 A rewards result set with metadata.

object

Example Request

curl --request POST \
     --url https://api.figment.io/solana/rewards \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --header 'x-api-key: your-api-key-here'

Example Response

{
  "data": [
    {
      "stake_account": "2yoofMr4N78WPxVK8MU8Yy26dfRZbPw5WDzTRCA9uv95",
      "rewards": [
        {
          "text": "0.001390828",
          "currency": "SOL",
          "numeric": 1390828,
          "exp": 9,
          "type": "protocol"
        },
        {
          "text": "0.000220507",
          "currency": "SOL",
          "numeric": 220507,
          "exp": 9,
          "type": "mev"
        }
      ],
      "balances": [
        {
          "text": "3.340325069",
          "currency": "SOL",
          "numeric": 3340325069,
          "exp": 9
        }
      ],
      "epoch": 584,
      "timestamp": "2024-03-07T18:42:36Z",
      "validator": "CcaHc2L43ZWjwCHART3oZoJvHLAe9hzT2DJNUpBzoTN1",
      "stake_authority": "EToJFrGakntRnwL8LLikLgXoAfBjgwYhwwYvfVRcrgLL",
      "withdraw_authority": "EToJFrGakntRnwL8LLikLgXoAfBjgwYhwwYvfVRcrgLL"
    }
  ],
  "meta": {
    "protocol": "solana",
    "network": "mainnet",
    "time_rollup": "epoch"
  }
}