Skip to main content

Empty rewards for a validator

Using https://api-docs.rated.network/rated-api/api-reference/v1-beta/ethereum/rewards Get validator rewards metrics API, I wasn't able to find rewards associate with a validator I was looking for.

Parameters
URL : /v1/eth/validators/0xaa160542c2b1b9dbf5e11ca044067526c6dfff65efba88ea483d49bdbe478ab7489f8b1a903ea22b6d30cfa57626ca9e/rewards?granularity=hour&fromDate=2023-04-01&toDate=2024-05-13
X-Rated-Network = mainnet

Response :

{
    "previous": null,
    "next": null,
    "pages": 0,
    "results": []
}


I was expecting to see some consensus rewards for that period.

Here's the data on beaconchain
https://beaconcha.in/validator/aa160542c2b1b9dbf5e11ca044067526c6dfff65efba88ea483d49bdbe478ab7489f8b1a903ea22b6d30cfa57626ca9e

Status: Completed2 comments

Log in to comment and vote

Comments2

  • Sanjana Mehta

    •

    May 16, 2024

    Hey @Jacob Marcil ! This issue has now been resolved. Please let us know if it persists on your end.

  • Jacob Marcil

    •

    May 14, 2024

    Changing the granularity to anything else than hour makes the API returned HTTP 400

    [    {        "loc": [            "sumExternallySourcedExecutionRewards"        ],
            "msg": "value is not a valid float",
            "type": "type_error.float"
        }
    ]