Documentation ¶
Index ¶
- type AggregateAttestationAndProofJson
- type AggregateAttestationResponseJson
- type AggregatedAttReceivedDataJson
- type AttestationDataJson
- type AttestationJson
- type AttestationsPoolResponseJson
- type AttesterDutiesResponseJson
- type AttesterDutyJson
- type AttesterSlashingJson
- type AttesterSlashingsPoolResponseJson
- type BLSToExecutionChangeJson
- type BLSToExecutionChangesPoolResponseJson
- type BeaconBlockAltairJson
- type BeaconBlockBellatrixJson
- type BeaconBlockBodyAltairJson
- type BeaconBlockBodyBellatrixJson
- type BeaconBlockBodyCapellaJson
- type BeaconBlockBodyJson
- type BeaconBlockCapellaJson
- type BeaconBlockContainerV2Json
- type BeaconBlockHeaderContainerJson
- type BeaconBlockHeaderJson
- type BeaconBlockJson
- type BeaconCommitteeSubscribeJson
- type BeaconEndpointFactory
- type BeaconStateAltairJson
- type BeaconStateBellatrixJson
- type BeaconStateCapellaJson
- type BeaconStateContainerV2Json
- type BeaconStateJson
- type BeaconStateResponseJson
- type BeaconStateV2ResponseJson
- type BlindedBeaconBlockBellatrixJson
- type BlindedBeaconBlockBodyBellatrixJson
- type BlindedBeaconBlockBodyCapellaJson
- type BlindedBeaconBlockCapellaJson
- type BlindedBeaconBlockContainerJson
- type BlindedBlockResponseJson
- type BlockAttestationsResponseJson
- type BlockHeaderContainerJson
- type BlockHeaderResponseJson
- type BlockHeadersResponseJson
- type BlockResponseJson
- type BlockRootContainerJson
- type BlockRootResponseJson
- type BlockV2ResponseJson
- type CheckpointJson
- type CommitteeJson
- type ContributionAndProofJson
- type DepositContractJson
- type DepositContractResponseJson
- type DepositJson
- type Deposit_DataJson
- type EpochParticipation
- type Eth1DataJson
- type EventChainReorgJson
- type EventErrorJson
- type EventFinalizedCheckpointJson
- type EventHeadJson
- type ExecutionPayloadCapellaJson
- type ExecutionPayloadHeaderCapellaJson
- type ExecutionPayloadHeaderJson
- type ExecutionPayloadJson
- type FeeRecipientJson
- type FeeRecipientsRequestJSON
- type ForkChoiceDumpJson
- type ForkChoiceHeadJson
- type ForkChoiceHeadsResponseJson
- type ForkChoiceNodeExtraDataJson
- type ForkChoiceNodeJson
- type ForkChoiceNodeResponseJson
- type ForkChoiceResponseExtraDataJson
- type ForkChoiceResponseJson
- type ForkJson
- type ForkScheduleResponseJson
- type GenesisResponseJson
- type GenesisResponse_GenesisJson
- type HistoricalSummaryJson
- type IdentityJson
- type IdentityResponseJson
- type IndexedAttestationJson
- type IndexedVerificationFailureErrorJson
- type LivenessResponseJson
- type MetadataJson
- type NodeSyncDetailsErrorJson
- type PeerCountResponseJson
- type PeerCountResponse_PeerCountJson
- type PeerJson
- type PeerResponseJson
- type PeersResponseJson
- type PendingAttestationJson
- type ProduceAttestationDataResponseJson
- type ProduceBlindedBlockResponseJson
- type ProduceBlockResponseJson
- type ProduceBlockResponseV2Json
- type ProduceSyncCommitteeContributionResponseJson
- type ProposerDutiesResponseJson
- type ProposerDutyJson
- type ProposerSlashingJson
- type ProposerSlashingsPoolResponseJson
- type RandaoResponseJson
- type ReceivedBlockDataJson
- type SignedAggregateAttestationAndProofJson
- type SignedBLSToExecutionChangeJson
- type SignedBeaconBlockAltairContainerJson
- type SignedBeaconBlockBellatrixContainerJson
- type SignedBeaconBlockCapellaContainerJson
- type SignedBeaconBlockContainerJson
- type SignedBeaconBlockContainerV2Json
- type SignedBeaconBlockHeaderJson
- type SignedBlindedBeaconBlockBellatrixContainerJson
- type SignedBlindedBeaconBlockCapellaContainerJson
- type SignedBlindedBeaconBlockContainerJson
- type SignedContributionAndProofJson
- type SignedValidatorRegistrationJson
- type SignedValidatorRegistrationsRequestJson
- type SignedVoluntaryExitJson
- type SingleIndexedVerificationFailureJson
- type SpecResponseJson
- type SszRequestJson
- type SszResponse
- type SszResponseJson
- type StateCommitteesResponseJson
- type StateFinalityCheckpointResponseJson
- type StateFinalityCheckpointResponse_StateFinalityCheckpointJson
- type StateForkResponseJson
- type StateRootResponseJson
- type StateRootResponse_StateRootJson
- type StateValidatorResponseJson
- type StateValidatorsResponseJson
- type SubmitAggregateAndProofsRequestJson
- type SubmitAttestationRequestJson
- type SubmitBLSToExecutionChangesRequest
- type SubmitBeaconCommitteeSubscriptionsRequestJson
- type SubmitContributionAndProofsRequestJson
- type SubmitSyncCommitteeSignaturesRequestJson
- type SubmitSyncCommitteeSubscriptionRequestJson
- type SyncAggregateJson
- type SyncCommitteeContributionJson
- type SyncCommitteeDutiesResponseJson
- type SyncCommitteeDuty
- type SyncCommitteeJson
- type SyncCommitteeMessageJson
- type SyncCommitteeSubscriptionJson
- type SyncCommitteeValidatorsJson
- type SyncCommitteesResponseJson
- type SyncingResponseJson
- type UnaggregatedAttReceivedDataJson
- type V2ForkChoiceHeadJson
- type V2ForkChoiceHeadsResponseJson
- type ValidatorBalanceJson
- type ValidatorBalancesResponseJson
- type ValidatorContainerJson
- type ValidatorIndicesJson
- type ValidatorJson
- type ValidatorRegistrationJson
- type VersionJson
- type VersionResponseJson
- type VersionedSSZResponseJson
- type VoluntaryExitJson
- type VoluntaryExitsPoolResponseJson
- type WeakSubjectivityResponse
- type WithdrawalJson
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AggregateAttestationAndProofJson ¶ added in v3.1.2
type AggregateAttestationAndProofJson struct { AggregatorIndex string `json:"aggregator_index"` Aggregate *AttestationJson `json:"aggregate"` SelectionProof string `json:"selection_proof" hex:"true"` }
type AggregateAttestationResponseJson ¶ added in v3.1.2
type AggregateAttestationResponseJson struct {
Data *AttestationJson `json:"data"`
}
type AggregatedAttReceivedDataJson ¶ added in v3.1.2
type AggregatedAttReceivedDataJson struct {
Aggregate *AttestationJson `json:"aggregate"`
}
type AttestationDataJson ¶ added in v3.1.2
type AttestationDataJson struct { Slot string `json:"slot"` CommitteeIndex string `json:"index"` BeaconBlockRoot string `json:"beacon_block_root" hex:"true"` Source *CheckpointJson `json:"source"` Target *CheckpointJson `json:"target"` }
type AttestationJson ¶ added in v3.1.2
type AttestationJson struct { AggregationBits string `json:"aggregation_bits" hex:"true"` Data *AttestationDataJson `json:"data"` Signature string `json:"signature" hex:"true"` }
type AttestationsPoolResponseJson ¶ added in v3.1.2
type AttestationsPoolResponseJson struct {
Data []*AttestationJson `json:"data"`
}
type AttesterDutiesResponseJson ¶ added in v3.1.2
type AttesterDutiesResponseJson struct { DependentRoot string `json:"dependent_root" hex:"true"` Data []*AttesterDutyJson `json:"data"` ExecutionOptimistic bool `json:"execution_optimistic"` }
type AttesterDutyJson ¶ added in v3.1.2
type AttesterDutyJson struct { Pubkey string `json:"pubkey" hex:"true"` ValidatorIndex string `json:"validator_index"` CommitteeIndex string `json:"committee_index"` CommitteeLength string `json:"committee_length"` CommitteesAtSlot string `json:"committees_at_slot"` ValidatorCommitteeIndex string `json:"validator_committee_index"` Slot string `json:"slot"` }
type AttesterSlashingJson ¶ added in v3.1.2
type AttesterSlashingJson struct { Attestation_1 *IndexedAttestationJson `json:"attestation_1"` Attestation_2 *IndexedAttestationJson `json:"attestation_2"` }
type AttesterSlashingsPoolResponseJson ¶ added in v3.1.2
type AttesterSlashingsPoolResponseJson struct {
Data []*AttesterSlashingJson `json:"data"`
}
type BLSToExecutionChangeJson ¶ added in v3.2.0
type BLSToExecutionChangesPoolResponseJson ¶ added in v3.2.1
type BLSToExecutionChangesPoolResponseJson struct {
Data []*SignedBLSToExecutionChangeJson `json:"data"`
}
type BeaconBlockAltairJson ¶ added in v3.1.2
type BeaconBlockAltairJson struct { Slot string `json:"slot"` ProposerIndex string `json:"proposer_index"` ParentRoot string `json:"parent_root" hex:"true"` StateRoot string `json:"state_root" hex:"true"` Body *BeaconBlockBodyAltairJson `json:"body"` }
type BeaconBlockBellatrixJson ¶ added in v3.1.2
type BeaconBlockBellatrixJson struct { Slot string `json:"slot"` ProposerIndex string `json:"proposer_index"` ParentRoot string `json:"parent_root" hex:"true"` StateRoot string `json:"state_root" hex:"true"` Body *BeaconBlockBodyBellatrixJson `json:"body"` }
type BeaconBlockBodyAltairJson ¶ added in v3.1.2
type BeaconBlockBodyAltairJson struct { RandaoReveal string `json:"randao_reveal" hex:"true"` Eth1Data *Eth1DataJson `json:"eth1_data"` Graffiti string `json:"graffiti" hex:"true"` ProposerSlashings []*ProposerSlashingJson `json:"proposer_slashings"` AttesterSlashings []*AttesterSlashingJson `json:"attester_slashings"` Attestations []*AttestationJson `json:"attestations"` Deposits []*DepositJson `json:"deposits"` VoluntaryExits []*SignedVoluntaryExitJson `json:"voluntary_exits"` SyncAggregate *SyncAggregateJson `json:"sync_aggregate"` }
type BeaconBlockBodyBellatrixJson ¶ added in v3.1.2
type BeaconBlockBodyBellatrixJson struct { RandaoReveal string `json:"randao_reveal" hex:"true"` Eth1Data *Eth1DataJson `json:"eth1_data"` Graffiti string `json:"graffiti" hex:"true"` ProposerSlashings []*ProposerSlashingJson `json:"proposer_slashings"` AttesterSlashings []*AttesterSlashingJson `json:"attester_slashings"` Attestations []*AttestationJson `json:"attestations"` Deposits []*DepositJson `json:"deposits"` VoluntaryExits []*SignedVoluntaryExitJson `json:"voluntary_exits"` SyncAggregate *SyncAggregateJson `json:"sync_aggregate"` ExecutionPayload *ExecutionPayloadJson `json:"execution_payload"` }
type BeaconBlockBodyCapellaJson ¶ added in v3.2.1
type BeaconBlockBodyCapellaJson struct { RandaoReveal string `json:"randao_reveal" hex:"true"` Eth1Data *Eth1DataJson `json:"eth1_data"` Graffiti string `json:"graffiti" hex:"true"` ProposerSlashings []*ProposerSlashingJson `json:"proposer_slashings"` AttesterSlashings []*AttesterSlashingJson `json:"attester_slashings"` Attestations []*AttestationJson `json:"attestations"` Deposits []*DepositJson `json:"deposits"` VoluntaryExits []*SignedVoluntaryExitJson `json:"voluntary_exits"` SyncAggregate *SyncAggregateJson `json:"sync_aggregate"` ExecutionPayload *ExecutionPayloadCapellaJson `json:"execution_payload"` BLSToExecutionChanges []*SignedBLSToExecutionChangeJson `json:"bls_to_execution_changes"` }
type BeaconBlockBodyJson ¶ added in v3.1.2
type BeaconBlockBodyJson struct { RandaoReveal string `json:"randao_reveal" hex:"true"` Eth1Data *Eth1DataJson `json:"eth1_data"` Graffiti string `json:"graffiti" hex:"true"` ProposerSlashings []*ProposerSlashingJson `json:"proposer_slashings"` AttesterSlashings []*AttesterSlashingJson `json:"attester_slashings"` Attestations []*AttestationJson `json:"attestations"` Deposits []*DepositJson `json:"deposits"` VoluntaryExits []*SignedVoluntaryExitJson `json:"voluntary_exits"` }
type BeaconBlockCapellaJson ¶ added in v3.2.1
type BeaconBlockCapellaJson struct { Slot string `json:"slot"` ProposerIndex string `json:"proposer_index"` ParentRoot string `json:"parent_root" hex:"true"` StateRoot string `json:"state_root" hex:"true"` Body *BeaconBlockBodyCapellaJson `json:"body"` }
type BeaconBlockContainerV2Json ¶ added in v3.1.2
type BeaconBlockContainerV2Json struct { Phase0Block *BeaconBlockJson `json:"phase0_block"` AltairBlock *BeaconBlockAltairJson `json:"altair_block"` BellatrixBlock *BeaconBlockBellatrixJson `json:"bellatrix_block"` CapellaBlock *BeaconBlockCapellaJson `json:"capella_block"` }
type BeaconBlockHeaderContainerJson ¶ added in v3.1.2
type BeaconBlockHeaderContainerJson struct { Message *BeaconBlockHeaderJson `json:"message"` Signature string `json:"signature" hex:"true"` }
type BeaconBlockHeaderJson ¶ added in v3.1.2
type BeaconBlockJson ¶ added in v3.1.2
type BeaconBlockJson struct { Slot string `json:"slot"` ProposerIndex string `json:"proposer_index"` ParentRoot string `json:"parent_root" hex:"true"` StateRoot string `json:"state_root" hex:"true"` Body *BeaconBlockBodyJson `json:"body"` }
type BeaconCommitteeSubscribeJson ¶ added in v3.1.2
type BeaconEndpointFactory ¶
type BeaconEndpointFactory struct { }
BeaconEndpointFactory creates endpoints used for running beacon chain API calls through the API Middleware.
func (*BeaconEndpointFactory) Create ¶
func (_ *BeaconEndpointFactory) Create(path string) (*apimiddleware.Endpoint, error)
Create returns a new endpoint for the provided API path.
func (*BeaconEndpointFactory) IsNil ¶
func (f *BeaconEndpointFactory) IsNil() bool
func (*BeaconEndpointFactory) Paths ¶
func (_ *BeaconEndpointFactory) Paths() []string
Paths is a collection of all valid beacon chain API paths.
type BeaconStateAltairJson ¶ added in v3.1.2
type BeaconStateAltairJson struct { GenesisTime string `json:"genesis_time"` GenesisValidatorsRoot string `json:"genesis_validators_root" hex:"true"` Slot string `json:"slot"` Fork *ForkJson `json:"fork"` LatestBlockHeader *BeaconBlockHeaderJson `json:"latest_block_header"` BlockRoots []string `json:"block_roots" hex:"true"` StateRoots []string `json:"state_roots" hex:"true"` HistoricalRoots []string `json:"historical_roots" hex:"true"` Eth1Data *Eth1DataJson `json:"eth1_data"` Eth1DataVotes []*Eth1DataJson `json:"eth1_data_votes"` Eth1DepositIndex string `json:"eth1_deposit_index"` Validators []*ValidatorJson `json:"validators"` Balances []string `json:"balances"` RandaoMixes []string `json:"randao_mixes" hex:"true"` Slashings []string `json:"slashings"` PreviousEpochParticipation EpochParticipation `json:"previous_epoch_participation"` CurrentEpochParticipation EpochParticipation `json:"current_epoch_participation"` JustificationBits string `json:"justification_bits" hex:"true"` PreviousJustifiedCheckpoint *CheckpointJson `json:"previous_justified_checkpoint"` CurrentJustifiedCheckpoint *CheckpointJson `json:"current_justified_checkpoint"` FinalizedCheckpoint *CheckpointJson `json:"finalized_checkpoint"` InactivityScores []string `json:"inactivity_scores"` CurrentSyncCommittee *SyncCommitteeJson `json:"current_sync_committee"` NextSyncCommittee *SyncCommitteeJson `json:"next_sync_committee"` }
type BeaconStateBellatrixJson ¶ added in v3.1.2
type BeaconStateBellatrixJson struct { GenesisTime string `json:"genesis_time"` GenesisValidatorsRoot string `json:"genesis_validators_root" hex:"true"` Slot string `json:"slot"` Fork *ForkJson `json:"fork"` LatestBlockHeader *BeaconBlockHeaderJson `json:"latest_block_header"` BlockRoots []string `json:"block_roots" hex:"true"` StateRoots []string `json:"state_roots" hex:"true"` HistoricalRoots []string `json:"historical_roots" hex:"true"` Eth1Data *Eth1DataJson `json:"eth1_data"` Eth1DataVotes []*Eth1DataJson `json:"eth1_data_votes"` Eth1DepositIndex string `json:"eth1_deposit_index"` Validators []*ValidatorJson `json:"validators"` Balances []string `json:"balances"` RandaoMixes []string `json:"randao_mixes" hex:"true"` Slashings []string `json:"slashings"` PreviousEpochParticipation EpochParticipation `json:"previous_epoch_participation"` CurrentEpochParticipation EpochParticipation `json:"current_epoch_participation"` JustificationBits string `json:"justification_bits" hex:"true"` PreviousJustifiedCheckpoint *CheckpointJson `json:"previous_justified_checkpoint"` CurrentJustifiedCheckpoint *CheckpointJson `json:"current_justified_checkpoint"` FinalizedCheckpoint *CheckpointJson `json:"finalized_checkpoint"` InactivityScores []string `json:"inactivity_scores"` CurrentSyncCommittee *SyncCommitteeJson `json:"current_sync_committee"` NextSyncCommittee *SyncCommitteeJson `json:"next_sync_committee"` LatestExecutionPayloadHeader *ExecutionPayloadHeaderJson `json:"latest_execution_payload_header"` }
type BeaconStateCapellaJson ¶ added in v3.2.0
type BeaconStateCapellaJson struct { GenesisTime string `json:"genesis_time"` GenesisValidatorsRoot string `json:"genesis_validators_root" hex:"true"` Slot string `json:"slot"` Fork *ForkJson `json:"fork"` LatestBlockHeader *BeaconBlockHeaderJson `json:"latest_block_header"` BlockRoots []string `json:"block_roots" hex:"true"` StateRoots []string `json:"state_roots" hex:"true"` HistoricalRoots []string `json:"historical_roots" hex:"true"` Eth1Data *Eth1DataJson `json:"eth1_data"` Eth1DataVotes []*Eth1DataJson `json:"eth1_data_votes"` Eth1DepositIndex string `json:"eth1_deposit_index"` Validators []*ValidatorJson `json:"validators"` Balances []string `json:"balances"` RandaoMixes []string `json:"randao_mixes" hex:"true"` Slashings []string `json:"slashings"` PreviousEpochParticipation EpochParticipation `json:"previous_epoch_participation"` CurrentEpochParticipation EpochParticipation `json:"current_epoch_participation"` JustificationBits string `json:"justification_bits" hex:"true"` PreviousJustifiedCheckpoint *CheckpointJson `json:"previous_justified_checkpoint"` CurrentJustifiedCheckpoint *CheckpointJson `json:"current_justified_checkpoint"` FinalizedCheckpoint *CheckpointJson `json:"finalized_checkpoint"` InactivityScores []string `json:"inactivity_scores"` CurrentSyncCommittee *SyncCommitteeJson `json:"current_sync_committee"` NextSyncCommittee *SyncCommitteeJson `json:"next_sync_committee"` LatestExecutionPayloadHeader *ExecutionPayloadHeaderCapellaJson `json:"latest_execution_payload_header"` NextWithdrawalIndex string `json:"next_withdrawal_index"` NextWithdrawalValidatorIndex string `json:"next_withdrawal_validator_index"` HistoricalSummaries []*HistoricalSummaryJson `json:"historical_summaries"` }
type BeaconStateContainerV2Json ¶ added in v3.1.2
type BeaconStateContainerV2Json struct { Phase0State *BeaconStateJson `json:"phase0_state"` AltairState *BeaconStateAltairJson `json:"altair_state"` BellatrixState *BeaconStateBellatrixJson `json:"bellatrix_state"` CapellaState *BeaconStateCapellaJson `json:"capella_state"` }
type BeaconStateJson ¶ added in v3.1.2
type BeaconStateJson struct { GenesisTime string `json:"genesis_time"` GenesisValidatorsRoot string `json:"genesis_validators_root" hex:"true"` Slot string `json:"slot"` Fork *ForkJson `json:"fork"` LatestBlockHeader *BeaconBlockHeaderJson `json:"latest_block_header"` BlockRoots []string `json:"block_roots" hex:"true"` StateRoots []string `json:"state_roots" hex:"true"` HistoricalRoots []string `json:"historical_roots" hex:"true"` Eth1Data *Eth1DataJson `json:"eth1_data"` Eth1DataVotes []*Eth1DataJson `json:"eth1_data_votes"` Eth1DepositIndex string `json:"eth1_deposit_index"` Validators []*ValidatorJson `json:"validators"` Balances []string `json:"balances"` RandaoMixes []string `json:"randao_mixes" hex:"true"` Slashings []string `json:"slashings"` PreviousEpochAttestations []*PendingAttestationJson `json:"previous_epoch_attestations"` CurrentEpochAttestations []*PendingAttestationJson `json:"current_epoch_attestations"` JustificationBits string `json:"justification_bits" hex:"true"` PreviousJustifiedCheckpoint *CheckpointJson `json:"previous_justified_checkpoint"` CurrentJustifiedCheckpoint *CheckpointJson `json:"current_justified_checkpoint"` FinalizedCheckpoint *CheckpointJson `json:"finalized_checkpoint"` }
type BeaconStateResponseJson ¶ added in v3.1.2
type BeaconStateResponseJson struct {
Data *BeaconStateJson `json:"data"`
}
type BeaconStateV2ResponseJson ¶ added in v3.1.2
type BeaconStateV2ResponseJson struct { Version string `json:"version" enum:"true"` Data *BeaconStateContainerV2Json `json:"data"` ExecutionOptimistic bool `json:"execution_optimistic"` Finalized bool `json:"finalized"` }
type BlindedBeaconBlockBellatrixJson ¶ added in v3.1.2
type BlindedBeaconBlockBellatrixJson struct { Slot string `json:"slot"` ProposerIndex string `json:"proposer_index"` ParentRoot string `json:"parent_root" hex:"true"` StateRoot string `json:"state_root" hex:"true"` Body *BlindedBeaconBlockBodyBellatrixJson `json:"body"` }
type BlindedBeaconBlockBodyBellatrixJson ¶ added in v3.1.2
type BlindedBeaconBlockBodyBellatrixJson struct { RandaoReveal string `json:"randao_reveal" hex:"true"` Eth1Data *Eth1DataJson `json:"eth1_data"` Graffiti string `json:"graffiti" hex:"true"` ProposerSlashings []*ProposerSlashingJson `json:"proposer_slashings"` AttesterSlashings []*AttesterSlashingJson `json:"attester_slashings"` Attestations []*AttestationJson `json:"attestations"` Deposits []*DepositJson `json:"deposits"` VoluntaryExits []*SignedVoluntaryExitJson `json:"voluntary_exits"` SyncAggregate *SyncAggregateJson `json:"sync_aggregate"` ExecutionPayloadHeader *ExecutionPayloadHeaderJson `json:"execution_payload_header"` }
type BlindedBeaconBlockBodyCapellaJson ¶ added in v3.2.0
type BlindedBeaconBlockBodyCapellaJson struct { RandaoReveal string `json:"randao_reveal" hex:"true"` Eth1Data *Eth1DataJson `json:"eth1_data"` Graffiti string `json:"graffiti" hex:"true"` ProposerSlashings []*ProposerSlashingJson `json:"proposer_slashings"` AttesterSlashings []*AttesterSlashingJson `json:"attester_slashings"` Attestations []*AttestationJson `json:"attestations"` Deposits []*DepositJson `json:"deposits"` VoluntaryExits []*SignedVoluntaryExitJson `json:"voluntary_exits"` SyncAggregate *SyncAggregateJson `json:"sync_aggregate"` ExecutionPayloadHeader *ExecutionPayloadHeaderCapellaJson `json:"execution_payload_header"` BLSToExecutionChanges []*SignedBLSToExecutionChangeJson `json:"bls_to_execution_changes"` }
type BlindedBeaconBlockCapellaJson ¶ added in v3.2.0
type BlindedBeaconBlockCapellaJson struct { Slot string `json:"slot"` ProposerIndex string `json:"proposer_index"` ParentRoot string `json:"parent_root" hex:"true"` StateRoot string `json:"state_root" hex:"true"` Body *BlindedBeaconBlockBodyCapellaJson `json:"body"` }
type BlindedBeaconBlockContainerJson ¶ added in v3.1.2
type BlindedBeaconBlockContainerJson struct { Phase0Block *BeaconBlockJson `json:"phase0_block"` AltairBlock *BeaconBlockAltairJson `json:"altair_block"` BellatrixBlock *BlindedBeaconBlockBellatrixJson `json:"bellatrix_block"` CapellaBlock *BlindedBeaconBlockCapellaJson `json:"capella_block"` }
type BlindedBlockResponseJson ¶ added in v3.1.2
type BlindedBlockResponseJson struct { Version string `json:"version" enum:"true"` Data *SignedBlindedBeaconBlockContainerJson `json:"data"` ExecutionOptimistic bool `json:"execution_optimistic"` Finalized bool `json:"finalized"` }
type BlockAttestationsResponseJson ¶ added in v3.1.2
type BlockAttestationsResponseJson struct { Data []*AttestationJson `json:"data"` ExecutionOptimistic bool `json:"execution_optimistic"` Finalized bool `json:"finalized"` }
type BlockHeaderContainerJson ¶ added in v3.1.2
type BlockHeaderContainerJson struct { Root string `json:"root" hex:"true"` Canonical bool `json:"canonical"` Header *BeaconBlockHeaderContainerJson `json:"header"` }
type BlockHeaderResponseJson ¶ added in v3.1.2
type BlockHeaderResponseJson struct { Data *BlockHeaderContainerJson `json:"data"` ExecutionOptimistic bool `json:"execution_optimistic"` Finalized bool `json:"finalized"` }
type BlockHeadersResponseJson ¶ added in v3.1.2
type BlockHeadersResponseJson struct { Data []*BlockHeaderContainerJson `json:"data"` ExecutionOptimistic bool `json:"execution_optimistic"` Finalized bool `json:"finalized"` }
type BlockResponseJson ¶ added in v3.1.2
type BlockResponseJson struct {
Data *SignedBeaconBlockContainerJson `json:"data"`
}
type BlockRootContainerJson ¶ added in v3.1.2
type BlockRootContainerJson struct {
Root string `json:"root" hex:"true"`
}
type BlockRootResponseJson ¶ added in v3.1.2
type BlockRootResponseJson struct { Data *BlockRootContainerJson `json:"data"` ExecutionOptimistic bool `json:"execution_optimistic"` Finalized bool `json:"finalized"` }
type BlockV2ResponseJson ¶ added in v3.1.2
type BlockV2ResponseJson struct { Version string `json:"version" enum:"true"` Data *SignedBeaconBlockContainerV2Json `json:"data"` ExecutionOptimistic bool `json:"execution_optimistic"` Finalized bool `json:"finalized"` }
type CheckpointJson ¶ added in v3.1.2
type CommitteeJson ¶ added in v3.1.2
type ContributionAndProofJson ¶ added in v3.1.2
type ContributionAndProofJson struct { AggregatorIndex string `json:"aggregator_index"` Contribution *SyncCommitteeContributionJson `json:"contribution"` SelectionProof string `json:"selection_proof" hex:"true"` }
type DepositContractJson ¶ added in v3.1.2
type DepositContractResponseJson ¶ added in v3.1.2
type DepositContractResponseJson struct {
Data *DepositContractJson `json:"data"`
}
type DepositJson ¶ added in v3.1.2
type DepositJson struct { Proof []string `json:"proof" hex:"true"` Data *Deposit_DataJson `json:"data"` }
type Deposit_DataJson ¶ added in v3.1.2
type EpochParticipation ¶
type EpochParticipation []string
EpochParticipation represents participation of validators in their duties.
func (*EpochParticipation) UnmarshalJSON ¶
func (p *EpochParticipation) UnmarshalJSON(b []byte) error
type Eth1DataJson ¶ added in v3.1.2
type EventChainReorgJson ¶ added in v3.1.2
type EventChainReorgJson struct { Slot string `json:"slot"` Depth string `json:"depth"` OldHeadBlock string `json:"old_head_block" hex:"true"` NewHeadBlock string `json:"old_head_state" hex:"true"` OldHeadState string `json:"new_head_block" hex:"true"` NewHeadState string `json:"new_head_state" hex:"true"` Epoch string `json:"epoch"` ExecutionOptimistic bool `json:"execution_optimistic"` }
type EventErrorJson ¶ added in v3.1.2
type EventFinalizedCheckpointJson ¶ added in v3.1.2
type EventHeadJson ¶ added in v3.1.2
type EventHeadJson struct { Slot string `json:"slot"` Block string `json:"block" hex:"true"` State string `json:"state" hex:"true"` EpochTransition bool `json:"epoch_transition"` ExecutionOptimistic bool `json:"execution_optimistic"` PreviousDutyDependentRoot string `json:"previous_duty_dependent_root" hex:"true"` CurrentDutyDependentRoot string `json:"current_duty_dependent_root" hex:"true"` }
type ExecutionPayloadCapellaJson ¶ added in v3.2.1
type ExecutionPayloadCapellaJson struct { ParentHash string `json:"parent_hash" hex:"true"` FeeRecipient string `json:"fee_recipient" hex:"true"` StateRoot string `json:"state_root" hex:"true"` ReceiptsRoot string `json:"receipts_root" hex:"true"` LogsBloom string `json:"logs_bloom" hex:"true"` PrevRandao string `json:"prev_randao" hex:"true"` BlockNumber string `json:"block_number"` GasLimit string `json:"gas_limit"` GasUsed string `json:"gas_used"` TimeStamp string `json:"timestamp"` ExtraData string `json:"extra_data" hex:"true"` BaseFeePerGas string `json:"base_fee_per_gas" uint256:"true"` BlockHash string `json:"block_hash" hex:"true"` Transactions []string `json:"transactions" hex:"true"` Withdrawals []*WithdrawalJson `json:"withdrawals"` }
type ExecutionPayloadHeaderCapellaJson ¶ added in v3.2.0
type ExecutionPayloadHeaderCapellaJson struct { ParentHash string `json:"parent_hash" hex:"true"` FeeRecipient string `json:"fee_recipient" hex:"true"` StateRoot string `json:"state_root" hex:"true"` ReceiptsRoot string `json:"receipts_root" hex:"true"` LogsBloom string `json:"logs_bloom" hex:"true"` PrevRandao string `json:"prev_randao" hex:"true"` BlockNumber string `json:"block_number"` GasLimit string `json:"gas_limit"` GasUsed string `json:"gas_used"` TimeStamp string `json:"timestamp"` ExtraData string `json:"extra_data" hex:"true"` BaseFeePerGas string `json:"base_fee_per_gas" uint256:"true"` BlockHash string `json:"block_hash" hex:"true"` TransactionsRoot string `json:"transactions_root" hex:"true"` WithdrawalsRoot string `json:"withdrawals_root" hex:"true"` }
type ExecutionPayloadHeaderJson ¶ added in v3.1.2
type ExecutionPayloadHeaderJson struct { ParentHash string `json:"parent_hash" hex:"true"` FeeRecipient string `json:"fee_recipient" hex:"true"` StateRoot string `json:"state_root" hex:"true"` ReceiptsRoot string `json:"receipts_root" hex:"true"` LogsBloom string `json:"logs_bloom" hex:"true"` PrevRandao string `json:"prev_randao" hex:"true"` BlockNumber string `json:"block_number"` GasLimit string `json:"gas_limit"` GasUsed string `json:"gas_used"` TimeStamp string `json:"timestamp"` ExtraData string `json:"extra_data" hex:"true"` BaseFeePerGas string `json:"base_fee_per_gas" uint256:"true"` BlockHash string `json:"block_hash" hex:"true"` TransactionsRoot string `json:"transactions_root" hex:"true"` }
type ExecutionPayloadJson ¶ added in v3.1.2
type ExecutionPayloadJson struct { ParentHash string `json:"parent_hash" hex:"true"` FeeRecipient string `json:"fee_recipient" hex:"true"` StateRoot string `json:"state_root" hex:"true"` ReceiptsRoot string `json:"receipts_root" hex:"true"` LogsBloom string `json:"logs_bloom" hex:"true"` PrevRandao string `json:"prev_randao" hex:"true"` BlockNumber string `json:"block_number"` GasLimit string `json:"gas_limit"` GasUsed string `json:"gas_used"` TimeStamp string `json:"timestamp"` ExtraData string `json:"extra_data" hex:"true"` BaseFeePerGas string `json:"base_fee_per_gas" uint256:"true"` BlockHash string `json:"block_hash" hex:"true"` Transactions []string `json:"transactions" hex:"true"` }
type FeeRecipientJson ¶ added in v3.1.2
type FeeRecipientsRequestJSON ¶ added in v3.1.2
type FeeRecipientsRequestJSON struct {
Recipients []*FeeRecipientJson `json:"recipients"`
}
type ForkChoiceDumpJson ¶ added in v3.2.0
type ForkChoiceDumpJson struct { JustifiedCheckpoint *CheckpointJson `json:"justified_checkpoint"` FinalizedCheckpoint *CheckpointJson `json:"finalized_checkpoint"` BestJustifiedCheckpoint *CheckpointJson `json:"best_justified_checkpoint"` UnrealizedJustifiedCheckpoint *CheckpointJson `json:"unrealized_justified_checkpoint"` UnrealizedFinalizedCheckpoint *CheckpointJson `json:"unrealized_finalized_checkpoint"` ProposerBoostRoot string `json:"proposer_boost_root" hex:"true"` PreviousProposerBoostRoot string `json:"previous_proposer_boost_root" hex:"true"` HeadRoot string `json:"head_root" hex:"true"` ForkChoiceNodes []*ForkChoiceNodeJson `json:"fork_choice_nodes"` }
type ForkChoiceHeadJson ¶ added in v3.1.2
type ForkChoiceHeadsResponseJson ¶ added in v3.1.2
type ForkChoiceHeadsResponseJson struct {
Data []*ForkChoiceHeadJson `json:"data"`
}
type ForkChoiceNodeExtraDataJson ¶ added in v3.2.0
type ForkChoiceNodeExtraDataJson struct { UnrealizedJustifiedEpoch string `json:"unrealized_justified_epoch"` UnrealizedFinalizedEpoch string `json:"unrealized_finalized_epoch"` Balance string `json:"balance"` ExecutionOptimistic bool `json:"execution_optimistic"` TimeStamp string `json:"timestamp"` }
type ForkChoiceNodeJson ¶ added in v3.1.2
type ForkChoiceNodeJson struct { Slot string `json:"slot"` BlockRoot string `json:"block_root" hex:"true"` ParentRoot string `json:"parent_root" hex:"true"` JustifiedEpoch string `json:"justified_epoch"` FinalizedEpoch string `json:"finalized_epoch"` UnrealizedJustifiedEpoch string `json:"unrealized_justified_epoch"` UnrealizedFinalizedEpoch string `json:"unrealized_finalized_epoch"` Balance string `json:"balance"` Weight string `json:"weight"` ExecutionOptimistic bool `json:"execution_optimistic"` ExecutionBlockHash string `json:"execution_block_hash" hex:"true"` TimeStamp string `json:"timestamp"` Validity string `json:"validity" enum:"true"` }
type ForkChoiceNodeResponseJson ¶ added in v3.2.0
type ForkChoiceNodeResponseJson struct { Slot string `json:"slot"` BlockRoot string `json:"block_root" hex:"true"` ParentRoot string `json:"parent_root" hex:"true"` JustifiedEpoch string `json:"justified_epoch"` FinalizedEpoch string `json:"finalized_epoch"` Weight string `json:"weight"` Validity string `json:"validity" enum:"true"` ExecutionBlockHash string `json:"execution_block_hash" hex:"true"` ExtraData *ForkChoiceNodeExtraDataJson `json:"extra_data"` }
type ForkChoiceResponseExtraDataJson ¶ added in v3.2.0
type ForkChoiceResponseExtraDataJson struct { BestJustifiedCheckpoint *CheckpointJson `json:"best_justified_checkpoint"` UnrealizedJustifiedCheckpoint *CheckpointJson `json:"unrealized_justified_checkpoint"` UnrealizedFinalizedCheckpoint *CheckpointJson `json:"unrealized_finalized_checkpoint"` ProposerBoostRoot string `json:"proposer_boost_root" hex:"true"` PreviousProposerBoostRoot string `json:"previous_proposer_boost_root" hex:"true"` HeadRoot string `json:"head_root" hex:"true"` }
type ForkChoiceResponseJson ¶ added in v3.2.0
type ForkChoiceResponseJson struct { JustifiedCheckpoint *CheckpointJson `json:"justified_checkpoint"` FinalizedCheckpoint *CheckpointJson `json:"finalized_checkpoint"` ForkChoiceNodes []*ForkChoiceNodeResponseJson `json:"fork_choice_nodes"` ExtraData *ForkChoiceResponseExtraDataJson `json:"extra_data"` }
type ForkScheduleResponseJson ¶ added in v3.1.2
type ForkScheduleResponseJson struct {
Data []*ForkJson `json:"data"`
}
type GenesisResponseJson ¶ added in v3.1.2
type GenesisResponseJson struct {
Data *GenesisResponse_GenesisJson `json:"data"`
}
type GenesisResponse_GenesisJson ¶ added in v3.1.2
type HistoricalSummaryJson ¶ added in v3.2.1
type IdentityJson ¶ added in v3.1.2
type IdentityJson struct { PeerId string `json:"peer_id"` Enr string `json:"enr"` P2PAddresses []string `json:"p2p_addresses"` DiscoveryAddresses []string `json:"discovery_addresses"` Metadata *MetadataJson `json:"metadata"` }
type IdentityResponseJson ¶ added in v3.1.2
type IdentityResponseJson struct {
Data *IdentityJson `json:"data"`
}
type IndexedAttestationJson ¶ added in v3.1.2
type IndexedAttestationJson struct { AttestingIndices []string `json:"attesting_indices"` Data *AttestationDataJson `json:"data"` Signature string `json:"signature" hex:"true"` }
type IndexedVerificationFailureErrorJson ¶ added in v3.1.2
type IndexedVerificationFailureErrorJson struct { apimiddleware.DefaultErrorJson Failures []*SingleIndexedVerificationFailureJson `json:"failures"` }
IndexedVerificationFailureErrorJson is a JSON representation of the error returned when verifying an indexed object.
type LivenessResponseJson ¶ added in v3.2.0
type MetadataJson ¶ added in v3.1.2
type NodeSyncDetailsErrorJson ¶ added in v3.1.2
type NodeSyncDetailsErrorJson struct { apimiddleware.DefaultErrorJson SyncDetails helpers.SyncDetailsJson `json:"sync_details"` }
type PeerCountResponseJson ¶ added in v3.1.2
type PeerCountResponseJson struct {
Data PeerCountResponse_PeerCountJson `json:"data"`
}
type PeerCountResponse_PeerCountJson ¶ added in v3.1.2
type PeerResponseJson ¶ added in v3.1.2
type PeerResponseJson struct {
Data *PeerJson `json:"data"`
}
type PeersResponseJson ¶ added in v3.1.2
type PeersResponseJson struct {
Data []*PeerJson `json:"data"`
}
type PendingAttestationJson ¶ added in v3.1.2
type PendingAttestationJson struct { AggregationBits string `json:"aggregation_bits" hex:"true"` Data *AttestationDataJson `json:"data"` InclusionDelay string `json:"inclusion_delay"` ProposerIndex string `json:"proposer_index"` }
type ProduceAttestationDataResponseJson ¶ added in v3.1.2
type ProduceAttestationDataResponseJson struct {
Data *AttestationDataJson `json:"data"`
}
type ProduceBlindedBlockResponseJson ¶ added in v3.1.2
type ProduceBlindedBlockResponseJson struct { Version string `json:"version" enum:"true"` Data *BlindedBeaconBlockContainerJson `json:"data"` }
type ProduceBlockResponseJson ¶ added in v3.1.2
type ProduceBlockResponseJson struct {
Data *BeaconBlockJson `json:"data"`
}
type ProduceBlockResponseV2Json ¶ added in v3.1.2
type ProduceBlockResponseV2Json struct { Version string `json:"version" enum:"true"` Data *BeaconBlockContainerV2Json `json:"data"` }
type ProduceSyncCommitteeContributionResponseJson ¶ added in v3.1.2
type ProduceSyncCommitteeContributionResponseJson struct {
Data *SyncCommitteeContributionJson `json:"data"`
}
type ProposerDutiesResponseJson ¶ added in v3.1.2
type ProposerDutiesResponseJson struct { DependentRoot string `json:"dependent_root" hex:"true"` Data []*ProposerDutyJson `json:"data"` ExecutionOptimistic bool `json:"execution_optimistic"` }
type ProposerDutyJson ¶ added in v3.1.2
type ProposerSlashingJson ¶ added in v3.1.2
type ProposerSlashingJson struct { Header_1 *SignedBeaconBlockHeaderJson `json:"signed_header_1"` Header_2 *SignedBeaconBlockHeaderJson `json:"signed_header_2"` }
type ProposerSlashingsPoolResponseJson ¶ added in v3.1.2
type ProposerSlashingsPoolResponseJson struct {
Data []*ProposerSlashingJson `json:"data"`
}
type RandaoResponseJson ¶ added in v3.2.0
type ReceivedBlockDataJson ¶ added in v3.1.2
type SignedAggregateAttestationAndProofJson ¶ added in v3.1.2
type SignedAggregateAttestationAndProofJson struct { Message *AggregateAttestationAndProofJson `json:"message"` Signature string `json:"signature" hex:"true"` }
type SignedBLSToExecutionChangeJson ¶ added in v3.2.1
type SignedBLSToExecutionChangeJson struct { Message *BLSToExecutionChangeJson `json:"message"` Signature string `json:"signature" hex:"true"` }
type SignedBeaconBlockAltairContainerJson ¶ added in v3.1.2
type SignedBeaconBlockAltairContainerJson struct { Message *BeaconBlockAltairJson `json:"message"` Signature string `json:"signature" hex:"true"` }
type SignedBeaconBlockBellatrixContainerJson ¶ added in v3.1.2
type SignedBeaconBlockBellatrixContainerJson struct { Message *BeaconBlockBellatrixJson `json:"message"` Signature string `json:"signature" hex:"true"` }
type SignedBeaconBlockCapellaContainerJson ¶ added in v3.2.1
type SignedBeaconBlockCapellaContainerJson struct { Message *BeaconBlockCapellaJson `json:"message"` Signature string `json:"signature" hex:"true"` }
type SignedBeaconBlockContainerJson ¶ added in v3.1.2
type SignedBeaconBlockContainerJson struct { Message *BeaconBlockJson `json:"message"` Signature string `json:"signature" hex:"true"` }
type SignedBeaconBlockContainerV2Json ¶ added in v3.1.2
type SignedBeaconBlockContainerV2Json struct { Phase0Block *BeaconBlockJson `json:"phase0_block"` AltairBlock *BeaconBlockAltairJson `json:"altair_block"` BellatrixBlock *BeaconBlockBellatrixJson `json:"bellatrix_block"` CapellaBlock *BeaconBlockCapellaJson `json:"capella_block"` Signature string `json:"signature" hex:"true"` }
type SignedBeaconBlockHeaderJson ¶ added in v3.1.2
type SignedBeaconBlockHeaderJson struct { Header *BeaconBlockHeaderJson `json:"message"` Signature string `json:"signature" hex:"true"` }
type SignedBlindedBeaconBlockBellatrixContainerJson ¶ added in v3.1.2
type SignedBlindedBeaconBlockBellatrixContainerJson struct { Message *BlindedBeaconBlockBellatrixJson `json:"message"` Signature string `json:"signature" hex:"true"` }
type SignedBlindedBeaconBlockCapellaContainerJson ¶ added in v3.2.0
type SignedBlindedBeaconBlockCapellaContainerJson struct { Message *BlindedBeaconBlockCapellaJson `json:"message"` Signature string `json:"signature" hex:"true"` }
type SignedBlindedBeaconBlockContainerJson ¶ added in v3.1.2
type SignedBlindedBeaconBlockContainerJson struct { Phase0Block *BeaconBlockJson `json:"phase0_block"` AltairBlock *BeaconBlockAltairJson `json:"altair_block"` BellatrixBlock *BlindedBeaconBlockBellatrixJson `json:"bellatrix_block"` CapellaBlock *BlindedBeaconBlockCapellaJson `json:"capella_block"` Signature string `json:"signature" hex:"true"` }
type SignedContributionAndProofJson ¶ added in v3.1.2
type SignedContributionAndProofJson struct { Message *ContributionAndProofJson `json:"message"` Signature string `json:"signature" hex:"true"` }
type SignedValidatorRegistrationJson ¶ added in v3.1.2
type SignedValidatorRegistrationJson struct { Message *ValidatorRegistrationJson `json:"message"` Signature string `json:"signature" hex:"true"` }
type SignedValidatorRegistrationsRequestJson ¶ added in v3.1.2
type SignedValidatorRegistrationsRequestJson struct {
Registrations []*SignedValidatorRegistrationJson `json:"registrations"`
}
type SignedVoluntaryExitJson ¶ added in v3.1.2
type SignedVoluntaryExitJson struct { Exit *VoluntaryExitJson `json:"message"` Signature string `json:"signature" hex:"true"` }
type SingleIndexedVerificationFailureJson ¶ added in v3.1.2
type SingleIndexedVerificationFailureJson struct { Index int `json:"index"` Message string `json:"message"` }
SingleIndexedVerificationFailureJson is a JSON representation of a an issue when verifying a single indexed object e.g. an item in an array.
type SpecResponseJson ¶ added in v3.1.2
type SpecResponseJson struct {
Data interface{} `json:"data"`
}
type SszRequestJson ¶ added in v3.1.2
type SszRequestJson struct {
Data string `json:"data"`
}
type SszResponse ¶ added in v3.1.2
type SszResponse interface { SSZVersion() string SSZOptimistic() bool SSZData() string SSZFinalized() bool }
SszResponse is a common abstraction over all SSZ responses.
type SszResponseJson ¶ added in v3.1.2
type SszResponseJson struct {
Data string `json:"data"`
}
func (*SszResponseJson) SSZData ¶ added in v3.1.2
func (ssz *SszResponseJson) SSZData() string
func (*SszResponseJson) SSZFinalized ¶ added in v3.2.1
func (*SszResponseJson) SSZFinalized() bool
func (*SszResponseJson) SSZOptimistic ¶ added in v3.1.2
func (*SszResponseJson) SSZOptimistic() bool
func (*SszResponseJson) SSZVersion ¶ added in v3.1.2
func (*SszResponseJson) SSZVersion() string
type StateCommitteesResponseJson ¶ added in v3.1.2
type StateCommitteesResponseJson struct { Data []*CommitteeJson `json:"data"` ExecutionOptimistic bool `json:"execution_optimistic"` Finalized bool `json:"finalized"` }
type StateFinalityCheckpointResponseJson ¶ added in v3.1.2
type StateFinalityCheckpointResponseJson struct { Data *StateFinalityCheckpointResponse_StateFinalityCheckpointJson `json:"data"` ExecutionOptimistic bool `json:"execution_optimistic"` Finalized bool `json:"finalized"` }
type StateFinalityCheckpointResponse_StateFinalityCheckpointJson ¶ added in v3.1.2
type StateFinalityCheckpointResponse_StateFinalityCheckpointJson struct { PreviousJustified *CheckpointJson `json:"previous_justified"` CurrentJustified *CheckpointJson `json:"current_justified"` Finalized *CheckpointJson `json:"finalized"` }
type StateForkResponseJson ¶ added in v3.1.2
type StateRootResponseJson ¶ added in v3.1.2
type StateRootResponseJson struct { Data *StateRootResponse_StateRootJson `json:"data"` ExecutionOptimistic bool `json:"execution_optimistic"` Finalized bool `json:"finalized"` }
type StateRootResponse_StateRootJson ¶ added in v3.1.2
type StateRootResponse_StateRootJson struct {
StateRoot string `json:"root" hex:"true"`
}
type StateValidatorResponseJson ¶ added in v3.1.2
type StateValidatorResponseJson struct { Data *ValidatorContainerJson `json:"data"` ExecutionOptimistic bool `json:"execution_optimistic"` Finalized bool `json:"finalized"` }
type StateValidatorsResponseJson ¶ added in v3.1.2
type StateValidatorsResponseJson struct { Data []*ValidatorContainerJson `json:"data"` ExecutionOptimistic bool `json:"execution_optimistic"` Finalized bool `json:"finalized"` }
type SubmitAggregateAndProofsRequestJson ¶ added in v3.1.2
type SubmitAggregateAndProofsRequestJson struct {
Data []*SignedAggregateAttestationAndProofJson `json:"data"`
}
type SubmitAttestationRequestJson ¶ added in v3.1.2
type SubmitAttestationRequestJson struct {
Data []*AttestationJson `json:"data"`
}
type SubmitBLSToExecutionChangesRequest ¶ added in v3.2.1
type SubmitBLSToExecutionChangesRequest struct {
Changes []*SignedBLSToExecutionChangeJson `json:"changes"`
}
type SubmitBeaconCommitteeSubscriptionsRequestJson ¶ added in v3.1.2
type SubmitBeaconCommitteeSubscriptionsRequestJson struct {
Data []*BeaconCommitteeSubscribeJson `json:"data"`
}
type SubmitContributionAndProofsRequestJson ¶ added in v3.1.2
type SubmitContributionAndProofsRequestJson struct {
Data []*SignedContributionAndProofJson `json:"data"`
}
type SubmitSyncCommitteeSignaturesRequestJson ¶ added in v3.1.2
type SubmitSyncCommitteeSignaturesRequestJson struct {
Data []*SyncCommitteeMessageJson `json:"data"`
}
type SubmitSyncCommitteeSubscriptionRequestJson ¶ added in v3.1.2
type SubmitSyncCommitteeSubscriptionRequestJson struct {
Data []*SyncCommitteeSubscriptionJson `json:"data"`
}
type SyncAggregateJson ¶ added in v3.1.2
type SyncCommitteeContributionJson ¶ added in v3.1.2
type SyncCommitteeDutiesResponseJson ¶ added in v3.1.2
type SyncCommitteeDutiesResponseJson struct { Data []*SyncCommitteeDuty `json:"data"` ExecutionOptimistic bool `json:"execution_optimistic"` }
type SyncCommitteeDuty ¶ added in v3.1.2
type SyncCommitteeJson ¶ added in v3.1.2
type SyncCommitteeMessageJson ¶ added in v3.1.2
type SyncCommitteeSubscriptionJson ¶ added in v3.1.2
type SyncCommitteeValidatorsJson ¶ added in v3.1.2
type SyncCommitteesResponseJson ¶ added in v3.1.2
type SyncCommitteesResponseJson struct { Data *SyncCommitteeValidatorsJson `json:"data"` ExecutionOptimistic bool `json:"execution_optimistic"` Finalized bool `json:"finalized"` }
type SyncingResponseJson ¶ added in v3.1.2
type SyncingResponseJson struct {
Data *helpers.SyncDetailsJson `json:"data"`
}
type UnaggregatedAttReceivedDataJson ¶ added in v3.1.2
type UnaggregatedAttReceivedDataJson struct { AggregationBits string `json:"aggregation_bits" hex:"true"` Data *AttestationDataJson `json:"data"` Signature string `json:"signature" hex:"true"` }
type V2ForkChoiceHeadJson ¶ added in v3.1.2
type V2ForkChoiceHeadsResponseJson ¶ added in v3.1.2
type V2ForkChoiceHeadsResponseJson struct {
Data []*V2ForkChoiceHeadJson `json:"data"`
}
type ValidatorBalanceJson ¶ added in v3.1.2
type ValidatorBalancesResponseJson ¶ added in v3.1.2
type ValidatorBalancesResponseJson struct { Data []*ValidatorBalanceJson `json:"data"` ExecutionOptimistic bool `json:"execution_optimistic"` Finalized bool `json:"finalized"` }
type ValidatorContainerJson ¶ added in v3.1.2
type ValidatorContainerJson struct { Index string `json:"index"` Balance string `json:"balance"` Status string `json:"status" enum:"true"` Validator *ValidatorJson `json:"validator"` }
type ValidatorIndicesJson ¶ added in v3.2.0
type ValidatorIndicesJson struct {
Index []string `json:"index"`
}
type ValidatorJson ¶ added in v3.1.2
type ValidatorJson struct { PublicKey string `json:"pubkey" hex:"true"` WithdrawalCredentials string `json:"withdrawal_credentials" hex:"true"` EffectiveBalance string `json:"effective_balance"` Slashed bool `json:"slashed"` ActivationEligibilityEpoch string `json:"activation_eligibility_epoch"` ActivationEpoch string `json:"activation_epoch"` ExitEpoch string `json:"exit_epoch"` WithdrawableEpoch string `json:"withdrawable_epoch"` }
type ValidatorRegistrationJson ¶ added in v3.1.2
type VersionJson ¶ added in v3.1.2
type VersionJson struct {
Version string `json:"version" enum:"true"`
}
type VersionResponseJson ¶ added in v3.1.2
type VersionResponseJson struct {
Data *VersionJson `json:"data"`
}
type VersionedSSZResponseJson ¶ added in v3.1.2
type VersionedSSZResponseJson struct { Version string `json:"version" enum:"true"` ExecutionOptimistic bool `json:"execution_optimistic"` Finalized bool `json:"finalized"` Data string `json:"data"` }
func (*VersionedSSZResponseJson) SSZData ¶ added in v3.1.2
func (ssz *VersionedSSZResponseJson) SSZData() string
func (*VersionedSSZResponseJson) SSZFinalized ¶ added in v3.2.1
func (ssz *VersionedSSZResponseJson) SSZFinalized() bool
func (*VersionedSSZResponseJson) SSZOptimistic ¶ added in v3.1.2
func (ssz *VersionedSSZResponseJson) SSZOptimistic() bool
func (*VersionedSSZResponseJson) SSZVersion ¶ added in v3.1.2
func (ssz *VersionedSSZResponseJson) SSZVersion() string
type VoluntaryExitJson ¶ added in v3.1.2
type VoluntaryExitsPoolResponseJson ¶ added in v3.1.2
type VoluntaryExitsPoolResponseJson struct {
Data []*SignedVoluntaryExitJson `json:"data"`
}
type WeakSubjectivityResponse ¶
type WeakSubjectivityResponse struct { Data *struct { Checkpoint *CheckpointJson `json:"ws_checkpoint"` StateRoot string `json:"state_root" hex:"true"` } `json:"data"` }
WeakSubjectivityResponse is used to marshal/unmarshal the response for the /eth/v1/beacon/weak_subjectivity endpoint.