2023-06-01 11:22:49 +00:00
|
|
|
package beacon
|
|
|
|
|
|
|
|
import (
|
2023-08-18 14:29:40 +00:00
|
|
|
"github.com/prysmaticlabs/prysm/v4/beacon-chain/rpc/eth/shared"
|
2023-06-01 11:22:49 +00:00
|
|
|
)
|
|
|
|
|
2023-08-22 06:18:02 +00:00
|
|
|
type BlockRootResponse struct {
|
|
|
|
Data *struct {
|
|
|
|
Root string `json:"root"`
|
|
|
|
} `json:"data"`
|
|
|
|
ExecutionOptimistic bool `json:"execution_optimistic"`
|
|
|
|
Finalized bool `json:"finalized"`
|
|
|
|
}
|
|
|
|
|
2023-08-18 14:29:40 +00:00
|
|
|
type ListAttestationsResponse struct {
|
|
|
|
Data []*shared.Attestation `json:"data"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type SubmitAttestationsRequest struct {
|
2023-09-01 17:58:50 +00:00
|
|
|
Data []*shared.Attestation `json:"data"`
|
2023-08-18 14:29:40 +00:00
|
|
|
}
|
|
|
|
|
2023-08-23 07:51:03 +00:00
|
|
|
type ListVoluntaryExitsResponse struct {
|
2023-09-01 17:58:50 +00:00
|
|
|
Data []*shared.SignedVoluntaryExit `json:"data"`
|
2023-06-01 11:22:49 +00:00
|
|
|
}
|
|
|
|
|
2023-09-01 17:58:50 +00:00
|
|
|
type SubmitSyncCommitteeSignaturesRequest struct {
|
|
|
|
Data []*shared.SyncCommitteeMessage `json:"data"`
|
2023-06-01 11:22:49 +00:00
|
|
|
}
|