mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-09 11:11:20 +00:00
17 lines
549 B
Go
17 lines
549 B
Go
|
package rewards
|
||
|
|
||
|
type BlockRewardsResponse struct {
|
||
|
Data *BlockRewards `json:"data"`
|
||
|
ExecutionOptimistic bool `json:"execution_optimistic"`
|
||
|
Finalized bool `json:"finalized"`
|
||
|
}
|
||
|
|
||
|
type BlockRewards struct {
|
||
|
ProposerIndex string `json:"proposer_index"`
|
||
|
Total string `json:"total"`
|
||
|
Attestations string `json:"attestations"`
|
||
|
SyncAggregate string `json:"sync_aggregate"`
|
||
|
ProposerSlashings string `json:"proposer_slashings"`
|
||
|
AttesterSlashings string `json:"attester_slashings"`
|
||
|
}
|