prysm-pulse/beacon-chain/rpc/prysm/beacon/structs.go
Radosław Kapka cd8d499198
Move weak subjectivity endpoint to HTTP (#13220)
* Move weak subjectivity endpoint to HTTP

* remove server test file

* remove deprecation
2023-11-27 14:44:26 +00:00

13 lines
321 B
Go

package beacon
import "github.com/prysmaticlabs/prysm/v4/beacon-chain/rpc/eth/shared"
type GetWeakSubjectivityResponse struct {
Data *WeakSubjectivityData `json:"data"`
}
type WeakSubjectivityData struct {
WsCheckpoint *shared.Checkpoint `json:"ws_checkpoint"`
StateRoot string `json:"state_root"`
}