DOT Rewards

Returns delegator rewards (net, aka post-on-chain validator commission) by era. We return data for the past 30 days. Max 50 accounts per request.

General features described in Rewards Overview

stash_accounts

stash_accounts*

start

end

time_rollup

Aggregation unit

Returns

200 A rewards result set with metadata.

Error Codes

Example CURL Request

curl --request POST \
     --url https://api.figment.io/polkadot/rewards \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --header 'x-api-key: your-api-key-here' \
     --data '{
  "time_rollup": "era"
}'

Example Response

{
  "data": [
    {
      "stash_account": "13GzuCvjeTPi8EESc5HxgSqrzFgwiGEgSPt6q3HgU5UT4vZo",
      "validator": "138QdRbUTB9eNY94Q4Mj5r39FkgMiyHCAy8UFMNA5gvtrfSB",
      "era": "845",
      "active_era": 0,
      "timestamp": "2023-07-21T00:00:00Z",
      "rewards": [
        {
          "text": "3.6694634053",
          "currency": "DOT",
          "numeric": 36694634053,
          "exp": 10
        }
      ],
      "balances": [
        {
          "text": "211509.8626318288",
          "currency": "DOT",
          "numeric": 211509.8626318288,
          "exp": 10
        }
      ]
    }
  ],

"meta": {
    "protocol": "polkadot",
    "network": "mainnet",
    "time_rollup": "era"
  }
}