gobitfly/eth2-beaconchain-explorer

No data for deposited validator using /api/v1/validator/ endpoint

Closed this issue · 1 comments

Describe the bug
API does not return any related data for validator with status "DEPOSITED"

To Reproduce
Steps to reproduce the behavior:

  1. Run
    curl -X 'GET'
    'https://beaconcha.in/api/v1/validator/0x8067ce07e8ab2fd380817e2b06a60a1ab4ee14b0f5310d0441589db38e387fa577af66fde02268a163b373792ed19ae1'
    -H 'accept: application/json'
    or any other validator that has "Deposited" status on web
  2. Get response 400
    {
    "status": "ERROR: invalid validator argument, pubkey(s) did not resolve to a validator index",
    "data": null
    }

Expected behavior
Return anything related to validator with status "DEPOSITED"

Screenshots
image
image

  • OS: Ubuntu 22.04
  • Browser Chrome
  • Version 121.0.6167.160 (Official Build) (64-bit)

hi @pmaiorchyk-everstake ,
Thanks for the report. However, the endpoint should not return the deposited status. We are currently developing a v2 API that will cover this case. We apologize for any inconvenience caused.