You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
nalepae
changed the title
Any reason why Rewards is not in Beacon section?
Any reason why rewards endpoints are not in the Beacon section?
Jul 12, 2023
The value would be to have all the endpoints in any <Xxx> section beginning with /eth/v{i}/xxx/..., which is currently the case for all sections, except for the Rewards section.
(And the ValidatorRequiredApi and Experimental sections as well, but all endpoints in these two sections are duplicate of other sections)
The /beacon endpoints are meant to be those that contain beacon chain structures. Rewards are derived information, so should sit outside of this namespace.
(Also beacon endpoints are mandatory for support whereas I don't believe that rewards are, but that's secondary.)
Beacon
section begin with/eth/v{1,2}/beacon/...
Builder
section begin with/eth/v1/builder/...
Config
section begin with/eth/v1/config/...
I understand there is some exceptions for
ValidatorRequiredApi
andExperimental
sections.However, since all
rewards
endpoint are also prefixed by/eth/v1/beacon/
, is there any reason why they are not stored in theBeacon
section as well?(@kevinbogner)
The text was updated successfully, but these errors were encountered: