Closed ogenev closed 4 months ago
- I'm proposing adding
portal_beaconOptimisticStateRoot
endpoint that returns the hex encoded recent known beacon state root.
To confirm, this new one is just returning the beacon state root embedded in the optimisticUpdate
that we have stored locally?
To confirm, this new one is just returning the beacon state root embedded in the
optimisticUpdate
that we have stored locally?
yes
Thinking about the state root endpoints more, we will want also similar endpoint for the finality updates: portal_beaconFinalityStateRoot
and probably adding additional field to the response object, the slot number?
Current use cases:
Add basic beacon network endpoints to
JSON_RPC
specs.All of the endpoints are copy/paste from the history network except this one:
portal_beaconOptimisticStateRoot
endpoint that returns the hex encoded recent known beacon state root.