The API return a HTTP 400 for a valid request for this API https://api-docs.rated.network/rated-api/api-reference/v1-beta/ethereum/rewards#validator-rewards.
Parameters :
URL : /v1/eth/validators/0x923285aabe7b6edd1aff2022f6089b7343c9d35bfea3e22792c4b43350153e7323cbbb15ce096e9f3c60b5bc55713a4d/rewards
Headers : X-Rated-Network = mainnet
Response (HTTP 400)
[ { "loc": [ "sumExternallySourcedExecutionRewards" ],
"msg": "value is not a valid float",
"type": "type_error.float"
}
]
Same thing when using the validator id
Parameters :
URL : /v1/eth/validators/1025148/rewards
Headers : X-Rated-Network = mainnet
This shows the existence of this validator
https://beaconcha.in/validator/923285aabe7b6edd1aff2022f6089b7343c9d35bfea3e22792c4b43350153e7323cbbb15ce096e9f3c60b5bc55713a4d
It's also possible to get this validator using Rated API
URL : /v1/eth/validators/0x923285aabe7b6edd1aff2022f6089b7343c9d35bfea3e22792c4b43350153e7323cbbb15ce096e9f3c60b5bc55713a4d
Headers : X-Rated-Network = mainnet
Response
{
"validatorIndex": 1025148,
"validatorPubkey": "0x923285aabe7b6edd1aff2022f6089b7343c9d35bfea3e22792c4b43350153e7323cbbb15ce096e9f3c60b5bc55713a4d",
"activationEpoch": 242547,
"activationEligibilityEpoch": 242529,
"exitEpoch": null,
"withdrawableEpoch": null
}
Please authenticate to join the conversation.
Completed
🐞 Bug Reports
5 months ago
Jacob Marcil
Get notified by email when there are changes.
Completed
🐞 Bug Reports
5 months ago
Jacob Marcil
Get notified by email when there are changes.