Documentation ¶
Overview ¶
Code generated by fastssz. DO NOT EDIT. Hash: edbc5aa03156793a03df9d7bed8634b21e5f8b384316f8925d25a5d693045bf8
Index ¶
- Variables
- type Blob
- type BlobsBundle
- func (*BlobsBundle) Descriptor() ([]byte, []int)deprecated
- func (x *BlobsBundle) GetAggregatedProof() []byte
- func (x *BlobsBundle) GetBlobs() []*Blob
- func (x *BlobsBundle) GetBlockHash() []byte
- func (x *BlobsBundle) GetKzgCommitments() [][]byte
- func (*BlobsBundle) ProtoMessage()
- func (x *BlobsBundle) ProtoReflect() protoreflect.Message
- func (x *BlobsBundle) Reset()
- func (x *BlobsBundle) String() string
- type ExecutionBlock
- type ExecutionPayload
- func (*ExecutionPayload) Descriptor() ([]byte, []int)deprecated
- func (x *ExecutionPayload) GetBaseFeePerGas() []byte
- func (x *ExecutionPayload) GetBlockHash() []byte
- func (x *ExecutionPayload) GetBlockNumber() uint64
- func (x *ExecutionPayload) GetExtraData() []byte
- func (x *ExecutionPayload) GetFeeRecipient() []byte
- func (x *ExecutionPayload) GetGasLimit() uint64
- func (x *ExecutionPayload) GetGasUsed() uint64
- func (x *ExecutionPayload) GetLogsBloom() []byte
- func (x *ExecutionPayload) GetParentHash() []byte
- func (x *ExecutionPayload) GetPrevRandao() []byte
- func (x *ExecutionPayload) GetReceiptsRoot() []byte
- func (x *ExecutionPayload) GetStateRoot() []byte
- func (x *ExecutionPayload) GetTimestamp() uint64
- func (x *ExecutionPayload) GetTransactions() [][]byte
- func (e *ExecutionPayload) HashTreeRoot() ([32]byte, error)
- func (e *ExecutionPayload) HashTreeRootWith(hh *ssz.Hasher) (err error)
- func (e *ExecutionPayload) MarshalJSON() ([]byte, error)
- func (e *ExecutionPayload) MarshalSSZ() ([]byte, error)
- func (e *ExecutionPayload) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (*ExecutionPayload) ProtoMessage()
- func (x *ExecutionPayload) ProtoReflect() protoreflect.Message
- func (x *ExecutionPayload) Reset()
- func (e *ExecutionPayload) SizeSSZ() (size int)
- func (x *ExecutionPayload) String() string
- func (e *ExecutionPayload) UnmarshalJSON(enc []byte) error
- func (e *ExecutionPayload) UnmarshalSSZ(buf []byte) error
- type ExecutionPayloadCapella
- func (*ExecutionPayloadCapella) Descriptor() ([]byte, []int)deprecated
- func (x *ExecutionPayloadCapella) GetBaseFeePerGas() []byte
- func (x *ExecutionPayloadCapella) GetBlockHash() []byte
- func (x *ExecutionPayloadCapella) GetBlockNumber() uint64
- func (x *ExecutionPayloadCapella) GetExtraData() []byte
- func (x *ExecutionPayloadCapella) GetFeeRecipient() []byte
- func (x *ExecutionPayloadCapella) GetGasLimit() uint64
- func (x *ExecutionPayloadCapella) GetGasUsed() uint64
- func (x *ExecutionPayloadCapella) GetLogsBloom() []byte
- func (x *ExecutionPayloadCapella) GetParentHash() []byte
- func (x *ExecutionPayloadCapella) GetPrevRandao() []byte
- func (x *ExecutionPayloadCapella) GetReceiptsRoot() []byte
- func (x *ExecutionPayloadCapella) GetStateRoot() []byte
- func (x *ExecutionPayloadCapella) GetTimestamp() uint64
- func (x *ExecutionPayloadCapella) GetTransactions() [][]byte
- func (x *ExecutionPayloadCapella) GetWithdrawals() []*Withdrawal
- func (e *ExecutionPayloadCapella) HashTreeRoot() ([32]byte, error)
- func (e *ExecutionPayloadCapella) HashTreeRootWith(hh *ssz.Hasher) (err error)
- func (e *ExecutionPayloadCapella) MarshalJSON() ([]byte, error)
- func (e *ExecutionPayloadCapella) MarshalSSZ() ([]byte, error)
- func (e *ExecutionPayloadCapella) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (*ExecutionPayloadCapella) ProtoMessage()
- func (x *ExecutionPayloadCapella) ProtoReflect() protoreflect.Message
- func (x *ExecutionPayloadCapella) Reset()
- func (e *ExecutionPayloadCapella) SizeSSZ() (size int)
- func (x *ExecutionPayloadCapella) String() string
- func (e *ExecutionPayloadCapella) UnmarshalJSON(enc []byte) error
- func (e *ExecutionPayloadCapella) UnmarshalSSZ(buf []byte) error
- type ExecutionPayloadCapellaJSON
- type ExecutionPayloadHeader
- func (*ExecutionPayloadHeader) Descriptor() ([]byte, []int)deprecated
- func (x *ExecutionPayloadHeader) GetBaseFeePerGas() []byte
- func (x *ExecutionPayloadHeader) GetBlockHash() []byte
- func (x *ExecutionPayloadHeader) GetBlockNumber() uint64
- func (x *ExecutionPayloadHeader) GetExtraData() []byte
- func (x *ExecutionPayloadHeader) GetFeeRecipient() []byte
- func (x *ExecutionPayloadHeader) GetGasLimit() uint64
- func (x *ExecutionPayloadHeader) GetGasUsed() uint64
- func (x *ExecutionPayloadHeader) GetLogsBloom() []byte
- func (x *ExecutionPayloadHeader) GetParentHash() []byte
- func (x *ExecutionPayloadHeader) GetPrevRandao() []byte
- func (x *ExecutionPayloadHeader) GetReceiptsRoot() []byte
- func (x *ExecutionPayloadHeader) GetStateRoot() []byte
- func (x *ExecutionPayloadHeader) GetTimestamp() uint64
- func (x *ExecutionPayloadHeader) GetTransactionsRoot() []byte
- func (e *ExecutionPayloadHeader) HashTreeRoot() ([32]byte, error)
- func (e *ExecutionPayloadHeader) HashTreeRootWith(hh *ssz.Hasher) (err error)
- func (e *ExecutionPayloadHeader) MarshalSSZ() ([]byte, error)
- func (e *ExecutionPayloadHeader) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (*ExecutionPayloadHeader) ProtoMessage()
- func (x *ExecutionPayloadHeader) ProtoReflect() protoreflect.Message
- func (x *ExecutionPayloadHeader) Reset()
- func (e *ExecutionPayloadHeader) SizeSSZ() (size int)
- func (x *ExecutionPayloadHeader) String() string
- func (e *ExecutionPayloadHeader) UnmarshalSSZ(buf []byte) error
- type ExecutionPayloadHeaderCapella
- func (*ExecutionPayloadHeaderCapella) Descriptor() ([]byte, []int)deprecated
- func (x *ExecutionPayloadHeaderCapella) GetBaseFeePerGas() []byte
- func (x *ExecutionPayloadHeaderCapella) GetBlockHash() []byte
- func (x *ExecutionPayloadHeaderCapella) GetBlockNumber() uint64
- func (x *ExecutionPayloadHeaderCapella) GetExtraData() []byte
- func (x *ExecutionPayloadHeaderCapella) GetFeeRecipient() []byte
- func (x *ExecutionPayloadHeaderCapella) GetGasLimit() uint64
- func (x *ExecutionPayloadHeaderCapella) GetGasUsed() uint64
- func (x *ExecutionPayloadHeaderCapella) GetLogsBloom() []byte
- func (x *ExecutionPayloadHeaderCapella) GetParentHash() []byte
- func (x *ExecutionPayloadHeaderCapella) GetPrevRandao() []byte
- func (x *ExecutionPayloadHeaderCapella) GetReceiptsRoot() []byte
- func (x *ExecutionPayloadHeaderCapella) GetStateRoot() []byte
- func (x *ExecutionPayloadHeaderCapella) GetTimestamp() uint64
- func (x *ExecutionPayloadHeaderCapella) GetTransactionsRoot() []byte
- func (x *ExecutionPayloadHeaderCapella) GetWithdrawalsRoot() []byte
- func (e *ExecutionPayloadHeaderCapella) HashTreeRoot() ([32]byte, error)
- func (e *ExecutionPayloadHeaderCapella) HashTreeRootWith(hh *ssz.Hasher) (err error)
- func (e *ExecutionPayloadHeaderCapella) MarshalSSZ() ([]byte, error)
- func (e *ExecutionPayloadHeaderCapella) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (*ExecutionPayloadHeaderCapella) ProtoMessage()
- func (x *ExecutionPayloadHeaderCapella) ProtoReflect() protoreflect.Message
- func (x *ExecutionPayloadHeaderCapella) Reset()
- func (e *ExecutionPayloadHeaderCapella) SizeSSZ() (size int)
- func (x *ExecutionPayloadHeaderCapella) String() string
- func (e *ExecutionPayloadHeaderCapella) UnmarshalSSZ(buf []byte) error
- type ForkchoiceState
- func (*ForkchoiceState) Descriptor() ([]byte, []int)deprecated
- func (x *ForkchoiceState) GetFinalizedBlockHash() []byte
- func (x *ForkchoiceState) GetHeadBlockHash() []byte
- func (x *ForkchoiceState) GetSafeBlockHash() []byte
- func (f *ForkchoiceState) MarshalJSON() ([]byte, error)
- func (*ForkchoiceState) ProtoMessage()
- func (x *ForkchoiceState) ProtoReflect() protoreflect.Message
- func (x *ForkchoiceState) Reset()
- func (x *ForkchoiceState) String() string
- func (f *ForkchoiceState) UnmarshalJSON(enc []byte) error
- type GetPayloadV2ResponseJson
- type PayloadAttributes
- func (*PayloadAttributes) Descriptor() ([]byte, []int)deprecated
- func (x *PayloadAttributes) GetPrevRandao() []byte
- func (x *PayloadAttributes) GetSuggestedFeeRecipient() []byte
- func (x *PayloadAttributes) GetTimestamp() uint64
- func (p *PayloadAttributes) MarshalJSON() ([]byte, error)
- func (*PayloadAttributes) ProtoMessage()
- func (x *PayloadAttributes) ProtoReflect() protoreflect.Message
- func (x *PayloadAttributes) Reset()
- func (x *PayloadAttributes) String() string
- func (p *PayloadAttributes) UnmarshalJSON(enc []byte) error
- type PayloadAttributesV2
- func (*PayloadAttributesV2) Descriptor() ([]byte, []int)deprecated
- func (x *PayloadAttributesV2) GetPrevRandao() []byte
- func (x *PayloadAttributesV2) GetSuggestedFeeRecipient() []byte
- func (x *PayloadAttributesV2) GetTimestamp() uint64
- func (x *PayloadAttributesV2) GetWithdrawals() []*Withdrawal
- func (p *PayloadAttributesV2) MarshalJSON() ([]byte, error)
- func (*PayloadAttributesV2) ProtoMessage()
- func (x *PayloadAttributesV2) ProtoReflect() protoreflect.Message
- func (x *PayloadAttributesV2) Reset()
- func (x *PayloadAttributesV2) String() string
- func (p *PayloadAttributesV2) UnmarshalJSON(enc []byte) error
- type PayloadIDBytes
- type PayloadStatus
- func (*PayloadStatus) Descriptor() ([]byte, []int)deprecated
- func (x *PayloadStatus) GetLatestValidHash() []byte
- func (x *PayloadStatus) GetStatus() PayloadStatus_Status
- func (x *PayloadStatus) GetValidationError() string
- func (p *PayloadStatus) MarshalJSON() ([]byte, error)
- func (*PayloadStatus) ProtoMessage()
- func (x *PayloadStatus) ProtoReflect() protoreflect.Message
- func (x *PayloadStatus) Reset()
- func (x *PayloadStatus) String() string
- func (p *PayloadStatus) UnmarshalJSON(enc []byte) error
- type PayloadStatus_Status
- func (PayloadStatus_Status) Descriptor() protoreflect.EnumDescriptor
- func (x PayloadStatus_Status) Enum() *PayloadStatus_Status
- func (PayloadStatus_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x PayloadStatus_Status) Number() protoreflect.EnumNumber
- func (x PayloadStatus_Status) String() string
- func (PayloadStatus_Status) Type() protoreflect.EnumType
- type TransitionConfiguration
- func (*TransitionConfiguration) Descriptor() ([]byte, []int)deprecated
- func (x *TransitionConfiguration) GetTerminalBlockHash() []byte
- func (x *TransitionConfiguration) GetTerminalBlockNumber() []byte
- func (x *TransitionConfiguration) GetTerminalTotalDifficulty() string
- func (t *TransitionConfiguration) MarshalJSON() ([]byte, error)
- func (*TransitionConfiguration) ProtoMessage()
- func (x *TransitionConfiguration) ProtoReflect() protoreflect.Message
- func (x *TransitionConfiguration) Reset()
- func (x *TransitionConfiguration) String() string
- func (t *TransitionConfiguration) UnmarshalJSON(enc []byte) error
- type Withdrawal
- func (*Withdrawal) Descriptor() ([]byte, []int)deprecated
- func (x *Withdrawal) GetAddress() []byte
- func (x *Withdrawal) GetAmount() uint64
- func (x *Withdrawal) GetIndex() uint64
- func (x *Withdrawal) GetValidatorIndex() github_com_prysmaticlabs_prysm_v3_consensus_types_primitives.ValidatorIndex
- func (w *Withdrawal) HashTreeRoot() ([32]byte, error)
- func (w *Withdrawal) HashTreeRootWith(hh *ssz.Hasher) (err error)
- func (w *Withdrawal) MarshalJSON() ([]byte, error)
- func (w *Withdrawal) MarshalSSZ() ([]byte, error)
- func (w *Withdrawal) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (*Withdrawal) ProtoMessage()
- func (x *Withdrawal) ProtoReflect() protoreflect.Message
- func (x *Withdrawal) Reset()
- func (w *Withdrawal) SizeSSZ() (size int)
- func (x *Withdrawal) String() string
- func (w *Withdrawal) UnmarshalJSON(enc []byte) error
- func (w *Withdrawal) UnmarshalSSZ(buf []byte) error
Constants ¶
This section is empty.
Variables ¶
var ( PayloadStatus_Status_name = map[int32]string{ 0: "UNKNOWN", 1: "VALID", 2: "INVALID", 3: "SYNCING", 4: "ACCEPTED", 5: "INVALID_BLOCK_HASH", } PayloadStatus_Status_value = map[string]int32{ "UNKNOWN": 0, "VALID": 1, "INVALID": 2, "SYNCING": 3, "ACCEPTED": 4, "INVALID_BLOCK_HASH": 5, } )
Enum value maps for PayloadStatus_Status.
var File_proto_engine_v1_execution_engine_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Blob ¶ added in v3.2.0
type Blob struct { Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty" ssz-size:"131072"` // contains filtered or unexported fields }
func (*Blob) Descriptor
deprecated
added in
v3.2.0
func (*Blob) ProtoMessage ¶ added in v3.2.0
func (*Blob) ProtoMessage()
func (*Blob) ProtoReflect ¶ added in v3.2.0
func (x *Blob) ProtoReflect() protoreflect.Message
type BlobsBundle ¶ added in v3.2.0
type BlobsBundle struct { BlockHash []byte `protobuf:"bytes,1,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty" ssz-size:"32"` KzgCommitments [][]byte `` /* 132-byte string literal not displayed */ Blobs []*Blob `protobuf:"bytes,3,rep,name=blobs,proto3" json:"blobs,omitempty" ssz-max:"16"` AggregatedProof []byte `protobuf:"bytes,4,opt,name=aggregated_proof,json=aggregatedProof,proto3" json:"aggregated_proof,omitempty" ssz-size:"48"` // contains filtered or unexported fields }
func (*BlobsBundle) Descriptor
deprecated
added in
v3.2.0
func (*BlobsBundle) Descriptor() ([]byte, []int)
Deprecated: Use BlobsBundle.ProtoReflect.Descriptor instead.
func (*BlobsBundle) GetAggregatedProof ¶ added in v3.2.0
func (x *BlobsBundle) GetAggregatedProof() []byte
func (*BlobsBundle) GetBlobs ¶ added in v3.2.0
func (x *BlobsBundle) GetBlobs() []*Blob
func (*BlobsBundle) GetBlockHash ¶ added in v3.2.0
func (x *BlobsBundle) GetBlockHash() []byte
func (*BlobsBundle) GetKzgCommitments ¶ added in v3.2.0
func (x *BlobsBundle) GetKzgCommitments() [][]byte
func (*BlobsBundle) ProtoMessage ¶ added in v3.2.0
func (*BlobsBundle) ProtoMessage()
func (*BlobsBundle) ProtoReflect ¶ added in v3.2.0
func (x *BlobsBundle) ProtoReflect() protoreflect.Message
func (*BlobsBundle) Reset ¶ added in v3.2.0
func (x *BlobsBundle) Reset()
func (*BlobsBundle) String ¶ added in v3.2.0
func (x *BlobsBundle) String() string
type ExecutionBlock ¶
type ExecutionBlock struct { Version int gethtypes.Header Hash common.Hash `json:"hash"` Transactions []*gethtypes.Transaction `json:"transactions"` TotalDifficulty string `json:"totalDifficulty"` Withdrawals []*Withdrawal `json:"withdrawals"` }
ExecutionBlock is the response kind received by the eth_getBlockByHash and eth_getBlockByNumber endpoints via JSON-RPC.
func (*ExecutionBlock) MarshalJSON ¶
func (e *ExecutionBlock) MarshalJSON() ([]byte, error)
func (*ExecutionBlock) UnmarshalJSON ¶
func (e *ExecutionBlock) UnmarshalJSON(enc []byte) error
type ExecutionPayload ¶
type ExecutionPayload struct { ParentHash []byte `protobuf:"bytes,1,opt,name=parent_hash,json=parentHash,proto3" json:"parent_hash,omitempty" ssz-size:"32"` FeeRecipient []byte `protobuf:"bytes,2,opt,name=fee_recipient,json=feeRecipient,proto3" json:"fee_recipient,omitempty" ssz-size:"20"` StateRoot []byte `protobuf:"bytes,3,opt,name=state_root,json=stateRoot,proto3" json:"state_root,omitempty" ssz-size:"32"` ReceiptsRoot []byte `protobuf:"bytes,4,opt,name=receipts_root,json=receiptsRoot,proto3" json:"receipts_root,omitempty" ssz-size:"32"` LogsBloom []byte `protobuf:"bytes,5,opt,name=logs_bloom,json=logsBloom,proto3" json:"logs_bloom,omitempty" ssz-size:"256"` PrevRandao []byte `protobuf:"bytes,6,opt,name=prev_randao,json=prevRandao,proto3" json:"prev_randao,omitempty" ssz-size:"32"` BlockNumber uint64 `protobuf:"varint,7,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"` GasLimit uint64 `protobuf:"varint,8,opt,name=gas_limit,json=gasLimit,proto3" json:"gas_limit,omitempty"` GasUsed uint64 `protobuf:"varint,9,opt,name=gas_used,json=gasUsed,proto3" json:"gas_used,omitempty"` Timestamp uint64 `protobuf:"varint,10,opt,name=timestamp,proto3" json:"timestamp,omitempty"` ExtraData []byte `protobuf:"bytes,11,opt,name=extra_data,json=extraData,proto3" json:"extra_data,omitempty" ssz-max:"32"` BaseFeePerGas []byte `protobuf:"bytes,12,opt,name=base_fee_per_gas,json=baseFeePerGas,proto3" json:"base_fee_per_gas,omitempty" ssz-size:"32"` BlockHash []byte `protobuf:"bytes,13,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty" ssz-size:"32"` Transactions [][]byte `protobuf:"bytes,14,rep,name=transactions,proto3" json:"transactions,omitempty" ssz-max:"1048576,1073741824" ssz-size:"?,?"` // contains filtered or unexported fields }
func (*ExecutionPayload) Descriptor
deprecated
func (*ExecutionPayload) Descriptor() ([]byte, []int)
Deprecated: Use ExecutionPayload.ProtoReflect.Descriptor instead.
func (*ExecutionPayload) GetBaseFeePerGas ¶
func (x *ExecutionPayload) GetBaseFeePerGas() []byte
func (*ExecutionPayload) GetBlockHash ¶
func (x *ExecutionPayload) GetBlockHash() []byte
func (*ExecutionPayload) GetBlockNumber ¶
func (x *ExecutionPayload) GetBlockNumber() uint64
func (*ExecutionPayload) GetExtraData ¶
func (x *ExecutionPayload) GetExtraData() []byte
func (*ExecutionPayload) GetFeeRecipient ¶
func (x *ExecutionPayload) GetFeeRecipient() []byte
func (*ExecutionPayload) GetGasLimit ¶
func (x *ExecutionPayload) GetGasLimit() uint64
func (*ExecutionPayload) GetGasUsed ¶
func (x *ExecutionPayload) GetGasUsed() uint64
func (*ExecutionPayload) GetLogsBloom ¶
func (x *ExecutionPayload) GetLogsBloom() []byte
func (*ExecutionPayload) GetParentHash ¶
func (x *ExecutionPayload) GetParentHash() []byte
func (*ExecutionPayload) GetPrevRandao ¶
func (x *ExecutionPayload) GetPrevRandao() []byte
func (*ExecutionPayload) GetReceiptsRoot ¶
func (x *ExecutionPayload) GetReceiptsRoot() []byte
func (*ExecutionPayload) GetStateRoot ¶
func (x *ExecutionPayload) GetStateRoot() []byte
func (*ExecutionPayload) GetTimestamp ¶
func (x *ExecutionPayload) GetTimestamp() uint64
func (*ExecutionPayload) GetTransactions ¶
func (x *ExecutionPayload) GetTransactions() [][]byte
func (*ExecutionPayload) HashTreeRoot ¶
func (e *ExecutionPayload) HashTreeRoot() ([32]byte, error)
HashTreeRoot ssz hashes the ExecutionPayload object
func (*ExecutionPayload) HashTreeRootWith ¶
func (e *ExecutionPayload) HashTreeRootWith(hh *ssz.Hasher) (err error)
HashTreeRootWith ssz hashes the ExecutionPayload object with a hasher
func (*ExecutionPayload) MarshalJSON ¶
func (e *ExecutionPayload) MarshalJSON() ([]byte, error)
MarshalJSON --
func (*ExecutionPayload) MarshalSSZ ¶
func (e *ExecutionPayload) MarshalSSZ() ([]byte, error)
MarshalSSZ ssz marshals the ExecutionPayload object
func (*ExecutionPayload) MarshalSSZTo ¶
func (e *ExecutionPayload) MarshalSSZTo(buf []byte) (dst []byte, err error)
MarshalSSZTo ssz marshals the ExecutionPayload object to a target array
func (*ExecutionPayload) ProtoMessage ¶
func (*ExecutionPayload) ProtoMessage()
func (*ExecutionPayload) ProtoReflect ¶
func (x *ExecutionPayload) ProtoReflect() protoreflect.Message
func (*ExecutionPayload) Reset ¶
func (x *ExecutionPayload) Reset()
func (*ExecutionPayload) SizeSSZ ¶
func (e *ExecutionPayload) SizeSSZ() (size int)
SizeSSZ returns the ssz encoded size in bytes for the ExecutionPayload object
func (*ExecutionPayload) String ¶
func (x *ExecutionPayload) String() string
func (*ExecutionPayload) UnmarshalJSON ¶
func (e *ExecutionPayload) UnmarshalJSON(enc []byte) error
UnmarshalJSON --
func (*ExecutionPayload) UnmarshalSSZ ¶
func (e *ExecutionPayload) UnmarshalSSZ(buf []byte) error
UnmarshalSSZ ssz unmarshals the ExecutionPayload object
type ExecutionPayloadCapella ¶
type ExecutionPayloadCapella struct { ParentHash []byte `protobuf:"bytes,1,opt,name=parent_hash,json=parentHash,proto3" json:"parent_hash,omitempty" ssz-size:"32"` FeeRecipient []byte `protobuf:"bytes,2,opt,name=fee_recipient,json=feeRecipient,proto3" json:"fee_recipient,omitempty" ssz-size:"20"` StateRoot []byte `protobuf:"bytes,3,opt,name=state_root,json=stateRoot,proto3" json:"state_root,omitempty" ssz-size:"32"` ReceiptsRoot []byte `protobuf:"bytes,4,opt,name=receipts_root,json=receiptsRoot,proto3" json:"receipts_root,omitempty" ssz-size:"32"` LogsBloom []byte `protobuf:"bytes,5,opt,name=logs_bloom,json=logsBloom,proto3" json:"logs_bloom,omitempty" ssz-size:"256"` PrevRandao []byte `protobuf:"bytes,6,opt,name=prev_randao,json=prevRandao,proto3" json:"prev_randao,omitempty" ssz-size:"32"` BlockNumber uint64 `protobuf:"varint,7,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"` GasLimit uint64 `protobuf:"varint,8,opt,name=gas_limit,json=gasLimit,proto3" json:"gas_limit,omitempty"` GasUsed uint64 `protobuf:"varint,9,opt,name=gas_used,json=gasUsed,proto3" json:"gas_used,omitempty"` Timestamp uint64 `protobuf:"varint,10,opt,name=timestamp,proto3" json:"timestamp,omitempty"` ExtraData []byte `protobuf:"bytes,11,opt,name=extra_data,json=extraData,proto3" json:"extra_data,omitempty" ssz-max:"32"` BaseFeePerGas []byte `protobuf:"bytes,12,opt,name=base_fee_per_gas,json=baseFeePerGas,proto3" json:"base_fee_per_gas,omitempty" ssz-size:"32"` BlockHash []byte `protobuf:"bytes,13,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty" ssz-size:"32"` Transactions [][]byte `protobuf:"bytes,14,rep,name=transactions,proto3" json:"transactions,omitempty" ssz-max:"1048576,1073741824" ssz-size:"?,?"` Withdrawals []*Withdrawal `protobuf:"bytes,15,rep,name=withdrawals,proto3" json:"withdrawals,omitempty" ssz-max:"16"` // contains filtered or unexported fields }
func (*ExecutionPayloadCapella) Descriptor
deprecated
func (*ExecutionPayloadCapella) Descriptor() ([]byte, []int)
Deprecated: Use ExecutionPayloadCapella.ProtoReflect.Descriptor instead.
func (*ExecutionPayloadCapella) GetBaseFeePerGas ¶
func (x *ExecutionPayloadCapella) GetBaseFeePerGas() []byte
func (*ExecutionPayloadCapella) GetBlockHash ¶
func (x *ExecutionPayloadCapella) GetBlockHash() []byte
func (*ExecutionPayloadCapella) GetBlockNumber ¶
func (x *ExecutionPayloadCapella) GetBlockNumber() uint64
func (*ExecutionPayloadCapella) GetExtraData ¶
func (x *ExecutionPayloadCapella) GetExtraData() []byte
func (*ExecutionPayloadCapella) GetFeeRecipient ¶
func (x *ExecutionPayloadCapella) GetFeeRecipient() []byte
func (*ExecutionPayloadCapella) GetGasLimit ¶
func (x *ExecutionPayloadCapella) GetGasLimit() uint64
func (*ExecutionPayloadCapella) GetGasUsed ¶
func (x *ExecutionPayloadCapella) GetGasUsed() uint64
func (*ExecutionPayloadCapella) GetLogsBloom ¶
func (x *ExecutionPayloadCapella) GetLogsBloom() []byte
func (*ExecutionPayloadCapella) GetParentHash ¶
func (x *ExecutionPayloadCapella) GetParentHash() []byte
func (*ExecutionPayloadCapella) GetPrevRandao ¶
func (x *ExecutionPayloadCapella) GetPrevRandao() []byte
func (*ExecutionPayloadCapella) GetReceiptsRoot ¶
func (x *ExecutionPayloadCapella) GetReceiptsRoot() []byte
func (*ExecutionPayloadCapella) GetStateRoot ¶
func (x *ExecutionPayloadCapella) GetStateRoot() []byte
func (*ExecutionPayloadCapella) GetTimestamp ¶
func (x *ExecutionPayloadCapella) GetTimestamp() uint64
func (*ExecutionPayloadCapella) GetTransactions ¶
func (x *ExecutionPayloadCapella) GetTransactions() [][]byte
func (*ExecutionPayloadCapella) GetWithdrawals ¶
func (x *ExecutionPayloadCapella) GetWithdrawals() []*Withdrawal
func (*ExecutionPayloadCapella) HashTreeRoot ¶ added in v3.1.2
func (e *ExecutionPayloadCapella) HashTreeRoot() ([32]byte, error)
HashTreeRoot ssz hashes the ExecutionPayloadCapella object
func (*ExecutionPayloadCapella) HashTreeRootWith ¶ added in v3.1.2
func (e *ExecutionPayloadCapella) HashTreeRootWith(hh *ssz.Hasher) (err error)
HashTreeRootWith ssz hashes the ExecutionPayloadCapella object with a hasher
func (*ExecutionPayloadCapella) MarshalJSON ¶ added in v3.2.1
func (e *ExecutionPayloadCapella) MarshalJSON() ([]byte, error)
MarshalJSON --
func (*ExecutionPayloadCapella) MarshalSSZ ¶ added in v3.1.2
func (e *ExecutionPayloadCapella) MarshalSSZ() ([]byte, error)
MarshalSSZ ssz marshals the ExecutionPayloadCapella object
func (*ExecutionPayloadCapella) MarshalSSZTo ¶ added in v3.1.2
func (e *ExecutionPayloadCapella) MarshalSSZTo(buf []byte) (dst []byte, err error)
MarshalSSZTo ssz marshals the ExecutionPayloadCapella object to a target array
func (*ExecutionPayloadCapella) ProtoMessage ¶
func (*ExecutionPayloadCapella) ProtoMessage()
func (*ExecutionPayloadCapella) ProtoReflect ¶
func (x *ExecutionPayloadCapella) ProtoReflect() protoreflect.Message
func (*ExecutionPayloadCapella) Reset ¶
func (x *ExecutionPayloadCapella) Reset()
func (*ExecutionPayloadCapella) SizeSSZ ¶ added in v3.1.2
func (e *ExecutionPayloadCapella) SizeSSZ() (size int)
SizeSSZ returns the ssz encoded size in bytes for the ExecutionPayloadCapella object
func (*ExecutionPayloadCapella) String ¶
func (x *ExecutionPayloadCapella) String() string
func (*ExecutionPayloadCapella) UnmarshalJSON ¶ added in v3.2.1
func (e *ExecutionPayloadCapella) UnmarshalJSON(enc []byte) error
UnmarshalJSON --
func (*ExecutionPayloadCapella) UnmarshalSSZ ¶ added in v3.1.2
func (e *ExecutionPayloadCapella) UnmarshalSSZ(buf []byte) error
UnmarshalSSZ ssz unmarshals the ExecutionPayloadCapella object
type ExecutionPayloadCapellaJSON ¶ added in v3.2.1
type ExecutionPayloadCapellaJSON struct { ParentHash *common.Hash `json:"parentHash"` FeeRecipient *common.Address `json:"feeRecipient"` StateRoot *common.Hash `json:"stateRoot"` ReceiptsRoot *common.Hash `json:"receiptsRoot"` LogsBloom *hexutil.Bytes `json:"logsBloom"` PrevRandao *common.Hash `json:"prevRandao"` BlockNumber *hexutil.Uint64 `json:"blockNumber"` GasLimit *hexutil.Uint64 `json:"gasLimit"` GasUsed *hexutil.Uint64 `json:"gasUsed"` Timestamp *hexutil.Uint64 `json:"timestamp"` ExtraData hexutil.Bytes `json:"extraData"` BaseFeePerGas string `json:"baseFeePerGas"` BlockHash *common.Hash `json:"blockHash"` Transactions []hexutil.Bytes `json:"transactions"` Withdrawals []*Withdrawal `json:"withdrawals"` }
type ExecutionPayloadHeader ¶
type ExecutionPayloadHeader struct { ParentHash []byte `protobuf:"bytes,1,opt,name=parent_hash,json=parentHash,proto3" json:"parent_hash,omitempty" ssz-size:"32"` FeeRecipient []byte `protobuf:"bytes,2,opt,name=fee_recipient,json=feeRecipient,proto3" json:"fee_recipient,omitempty" ssz-size:"20"` StateRoot []byte `protobuf:"bytes,3,opt,name=state_root,json=stateRoot,proto3" json:"state_root,omitempty" ssz-size:"32"` ReceiptsRoot []byte `protobuf:"bytes,4,opt,name=receipts_root,json=receiptsRoot,proto3" json:"receipts_root,omitempty" ssz-size:"32"` LogsBloom []byte `protobuf:"bytes,5,opt,name=logs_bloom,json=logsBloom,proto3" json:"logs_bloom,omitempty" ssz-size:"256"` PrevRandao []byte `protobuf:"bytes,6,opt,name=prev_randao,json=prevRandao,proto3" json:"prev_randao,omitempty" ssz-size:"32"` BlockNumber uint64 `protobuf:"varint,7,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"` GasLimit uint64 `protobuf:"varint,8,opt,name=gas_limit,json=gasLimit,proto3" json:"gas_limit,omitempty"` GasUsed uint64 `protobuf:"varint,9,opt,name=gas_used,json=gasUsed,proto3" json:"gas_used,omitempty"` Timestamp uint64 `protobuf:"varint,10,opt,name=timestamp,proto3" json:"timestamp,omitempty"` ExtraData []byte `protobuf:"bytes,11,opt,name=extra_data,json=extraData,proto3" json:"extra_data,omitempty" ssz-max:"32"` BaseFeePerGas []byte `protobuf:"bytes,12,opt,name=base_fee_per_gas,json=baseFeePerGas,proto3" json:"base_fee_per_gas,omitempty" ssz-size:"32"` BlockHash []byte `protobuf:"bytes,13,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty" ssz-size:"32"` TransactionsRoot []byte `protobuf:"bytes,14,opt,name=transactions_root,json=transactionsRoot,proto3" json:"transactions_root,omitempty" ssz-size:"32"` // contains filtered or unexported fields }
func (*ExecutionPayloadHeader) Descriptor
deprecated
func (*ExecutionPayloadHeader) Descriptor() ([]byte, []int)
Deprecated: Use ExecutionPayloadHeader.ProtoReflect.Descriptor instead.
func (*ExecutionPayloadHeader) GetBaseFeePerGas ¶
func (x *ExecutionPayloadHeader) GetBaseFeePerGas() []byte
func (*ExecutionPayloadHeader) GetBlockHash ¶
func (x *ExecutionPayloadHeader) GetBlockHash() []byte
func (*ExecutionPayloadHeader) GetBlockNumber ¶
func (x *ExecutionPayloadHeader) GetBlockNumber() uint64
func (*ExecutionPayloadHeader) GetExtraData ¶
func (x *ExecutionPayloadHeader) GetExtraData() []byte
func (*ExecutionPayloadHeader) GetFeeRecipient ¶
func (x *ExecutionPayloadHeader) GetFeeRecipient() []byte
func (*ExecutionPayloadHeader) GetGasLimit ¶
func (x *ExecutionPayloadHeader) GetGasLimit() uint64
func (*ExecutionPayloadHeader) GetGasUsed ¶
func (x *ExecutionPayloadHeader) GetGasUsed() uint64
func (*ExecutionPayloadHeader) GetLogsBloom ¶
func (x *ExecutionPayloadHeader) GetLogsBloom() []byte
func (*ExecutionPayloadHeader) GetParentHash ¶
func (x *ExecutionPayloadHeader) GetParentHash() []byte
func (*ExecutionPayloadHeader) GetPrevRandao ¶
func (x *ExecutionPayloadHeader) GetPrevRandao() []byte
func (*ExecutionPayloadHeader) GetReceiptsRoot ¶
func (x *ExecutionPayloadHeader) GetReceiptsRoot() []byte
func (*ExecutionPayloadHeader) GetStateRoot ¶
func (x *ExecutionPayloadHeader) GetStateRoot() []byte
func (*ExecutionPayloadHeader) GetTimestamp ¶
func (x *ExecutionPayloadHeader) GetTimestamp() uint64
func (*ExecutionPayloadHeader) GetTransactionsRoot ¶
func (x *ExecutionPayloadHeader) GetTransactionsRoot() []byte
func (*ExecutionPayloadHeader) HashTreeRoot ¶
func (e *ExecutionPayloadHeader) HashTreeRoot() ([32]byte, error)
HashTreeRoot ssz hashes the ExecutionPayloadHeader object
func (*ExecutionPayloadHeader) HashTreeRootWith ¶
func (e *ExecutionPayloadHeader) HashTreeRootWith(hh *ssz.Hasher) (err error)
HashTreeRootWith ssz hashes the ExecutionPayloadHeader object with a hasher
func (*ExecutionPayloadHeader) MarshalSSZ ¶
func (e *ExecutionPayloadHeader) MarshalSSZ() ([]byte, error)
MarshalSSZ ssz marshals the ExecutionPayloadHeader object
func (*ExecutionPayloadHeader) MarshalSSZTo ¶
func (e *ExecutionPayloadHeader) MarshalSSZTo(buf []byte) (dst []byte, err error)
MarshalSSZTo ssz marshals the ExecutionPayloadHeader object to a target array
func (*ExecutionPayloadHeader) ProtoMessage ¶
func (*ExecutionPayloadHeader) ProtoMessage()
func (*ExecutionPayloadHeader) ProtoReflect ¶
func (x *ExecutionPayloadHeader) ProtoReflect() protoreflect.Message
func (*ExecutionPayloadHeader) Reset ¶
func (x *ExecutionPayloadHeader) Reset()
func (*ExecutionPayloadHeader) SizeSSZ ¶
func (e *ExecutionPayloadHeader) SizeSSZ() (size int)
SizeSSZ returns the ssz encoded size in bytes for the ExecutionPayloadHeader object
func (*ExecutionPayloadHeader) String ¶
func (x *ExecutionPayloadHeader) String() string
func (*ExecutionPayloadHeader) UnmarshalSSZ ¶
func (e *ExecutionPayloadHeader) UnmarshalSSZ(buf []byte) error
UnmarshalSSZ ssz unmarshals the ExecutionPayloadHeader object
type ExecutionPayloadHeaderCapella ¶
type ExecutionPayloadHeaderCapella struct { ParentHash []byte `protobuf:"bytes,1,opt,name=parent_hash,json=parentHash,proto3" json:"parent_hash,omitempty" ssz-size:"32"` FeeRecipient []byte `protobuf:"bytes,2,opt,name=fee_recipient,json=feeRecipient,proto3" json:"fee_recipient,omitempty" ssz-size:"20"` StateRoot []byte `protobuf:"bytes,3,opt,name=state_root,json=stateRoot,proto3" json:"state_root,omitempty" ssz-size:"32"` ReceiptsRoot []byte `protobuf:"bytes,4,opt,name=receipts_root,json=receiptsRoot,proto3" json:"receipts_root,omitempty" ssz-size:"32"` LogsBloom []byte `protobuf:"bytes,5,opt,name=logs_bloom,json=logsBloom,proto3" json:"logs_bloom,omitempty" ssz-size:"256"` PrevRandao []byte `protobuf:"bytes,6,opt,name=prev_randao,json=prevRandao,proto3" json:"prev_randao,omitempty" ssz-size:"32"` BlockNumber uint64 `protobuf:"varint,7,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"` GasLimit uint64 `protobuf:"varint,8,opt,name=gas_limit,json=gasLimit,proto3" json:"gas_limit,omitempty"` GasUsed uint64 `protobuf:"varint,9,opt,name=gas_used,json=gasUsed,proto3" json:"gas_used,omitempty"` Timestamp uint64 `protobuf:"varint,10,opt,name=timestamp,proto3" json:"timestamp,omitempty"` ExtraData []byte `protobuf:"bytes,11,opt,name=extra_data,json=extraData,proto3" json:"extra_data,omitempty" ssz-max:"32"` BaseFeePerGas []byte `protobuf:"bytes,12,opt,name=base_fee_per_gas,json=baseFeePerGas,proto3" json:"base_fee_per_gas,omitempty" ssz-size:"32"` BlockHash []byte `protobuf:"bytes,13,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty" ssz-size:"32"` TransactionsRoot []byte `protobuf:"bytes,14,opt,name=transactions_root,json=transactionsRoot,proto3" json:"transactions_root,omitempty" ssz-size:"32"` WithdrawalsRoot []byte `protobuf:"bytes,15,opt,name=withdrawals_root,json=withdrawalsRoot,proto3" json:"withdrawals_root,omitempty" ssz-size:"32"` // contains filtered or unexported fields }
func (*ExecutionPayloadHeaderCapella) Descriptor
deprecated
func (*ExecutionPayloadHeaderCapella) Descriptor() ([]byte, []int)
Deprecated: Use ExecutionPayloadHeaderCapella.ProtoReflect.Descriptor instead.
func (*ExecutionPayloadHeaderCapella) GetBaseFeePerGas ¶
func (x *ExecutionPayloadHeaderCapella) GetBaseFeePerGas() []byte
func (*ExecutionPayloadHeaderCapella) GetBlockHash ¶
func (x *ExecutionPayloadHeaderCapella) GetBlockHash() []byte
func (*ExecutionPayloadHeaderCapella) GetBlockNumber ¶
func (x *ExecutionPayloadHeaderCapella) GetBlockNumber() uint64
func (*ExecutionPayloadHeaderCapella) GetExtraData ¶
func (x *ExecutionPayloadHeaderCapella) GetExtraData() []byte
func (*ExecutionPayloadHeaderCapella) GetFeeRecipient ¶
func (x *ExecutionPayloadHeaderCapella) GetFeeRecipient() []byte
func (*ExecutionPayloadHeaderCapella) GetGasLimit ¶
func (x *ExecutionPayloadHeaderCapella) GetGasLimit() uint64
func (*ExecutionPayloadHeaderCapella) GetGasUsed ¶
func (x *ExecutionPayloadHeaderCapella) GetGasUsed() uint64
func (*ExecutionPayloadHeaderCapella) GetLogsBloom ¶
func (x *ExecutionPayloadHeaderCapella) GetLogsBloom() []byte
func (*ExecutionPayloadHeaderCapella) GetParentHash ¶
func (x *ExecutionPayloadHeaderCapella) GetParentHash() []byte
func (*ExecutionPayloadHeaderCapella) GetPrevRandao ¶
func (x *ExecutionPayloadHeaderCapella) GetPrevRandao() []byte
func (*ExecutionPayloadHeaderCapella) GetReceiptsRoot ¶
func (x *ExecutionPayloadHeaderCapella) GetReceiptsRoot() []byte
func (*ExecutionPayloadHeaderCapella) GetStateRoot ¶
func (x *ExecutionPayloadHeaderCapella) GetStateRoot() []byte
func (*ExecutionPayloadHeaderCapella) GetTimestamp ¶
func (x *ExecutionPayloadHeaderCapella) GetTimestamp() uint64
func (*ExecutionPayloadHeaderCapella) GetTransactionsRoot ¶
func (x *ExecutionPayloadHeaderCapella) GetTransactionsRoot() []byte
func (*ExecutionPayloadHeaderCapella) GetWithdrawalsRoot ¶
func (x *ExecutionPayloadHeaderCapella) GetWithdrawalsRoot() []byte
func (*ExecutionPayloadHeaderCapella) HashTreeRoot ¶ added in v3.1.2
func (e *ExecutionPayloadHeaderCapella) HashTreeRoot() ([32]byte, error)
HashTreeRoot ssz hashes the ExecutionPayloadHeaderCapella object
func (*ExecutionPayloadHeaderCapella) HashTreeRootWith ¶ added in v3.1.2
func (e *ExecutionPayloadHeaderCapella) HashTreeRootWith(hh *ssz.Hasher) (err error)
HashTreeRootWith ssz hashes the ExecutionPayloadHeaderCapella object with a hasher
func (*ExecutionPayloadHeaderCapella) MarshalSSZ ¶ added in v3.1.2
func (e *ExecutionPayloadHeaderCapella) MarshalSSZ() ([]byte, error)
MarshalSSZ ssz marshals the ExecutionPayloadHeaderCapella object
func (*ExecutionPayloadHeaderCapella) MarshalSSZTo ¶ added in v3.1.2
func (e *ExecutionPayloadHeaderCapella) MarshalSSZTo(buf []byte) (dst []byte, err error)
MarshalSSZTo ssz marshals the ExecutionPayloadHeaderCapella object to a target array
func (*ExecutionPayloadHeaderCapella) ProtoMessage ¶
func (*ExecutionPayloadHeaderCapella) ProtoMessage()
func (*ExecutionPayloadHeaderCapella) ProtoReflect ¶
func (x *ExecutionPayloadHeaderCapella) ProtoReflect() protoreflect.Message
func (*ExecutionPayloadHeaderCapella) Reset ¶
func (x *ExecutionPayloadHeaderCapella) Reset()
func (*ExecutionPayloadHeaderCapella) SizeSSZ ¶ added in v3.1.2
func (e *ExecutionPayloadHeaderCapella) SizeSSZ() (size int)
SizeSSZ returns the ssz encoded size in bytes for the ExecutionPayloadHeaderCapella object
func (*ExecutionPayloadHeaderCapella) String ¶
func (x *ExecutionPayloadHeaderCapella) String() string
func (*ExecutionPayloadHeaderCapella) UnmarshalSSZ ¶ added in v3.1.2
func (e *ExecutionPayloadHeaderCapella) UnmarshalSSZ(buf []byte) error
UnmarshalSSZ ssz unmarshals the ExecutionPayloadHeaderCapella object
type ForkchoiceState ¶
type ForkchoiceState struct { HeadBlockHash []byte `protobuf:"bytes,1,opt,name=head_block_hash,json=headBlockHash,proto3" json:"head_block_hash,omitempty" ssz-size:"32"` SafeBlockHash []byte `protobuf:"bytes,2,opt,name=safe_block_hash,json=safeBlockHash,proto3" json:"safe_block_hash,omitempty" ssz-size:"32"` FinalizedBlockHash []byte `` /* 131-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ForkchoiceState) Descriptor
deprecated
func (*ForkchoiceState) Descriptor() ([]byte, []int)
Deprecated: Use ForkchoiceState.ProtoReflect.Descriptor instead.
func (*ForkchoiceState) GetFinalizedBlockHash ¶
func (x *ForkchoiceState) GetFinalizedBlockHash() []byte
func (*ForkchoiceState) GetHeadBlockHash ¶
func (x *ForkchoiceState) GetHeadBlockHash() []byte
func (*ForkchoiceState) GetSafeBlockHash ¶
func (x *ForkchoiceState) GetSafeBlockHash() []byte
func (*ForkchoiceState) MarshalJSON ¶
func (f *ForkchoiceState) MarshalJSON() ([]byte, error)
MarshalJSON --
func (*ForkchoiceState) ProtoMessage ¶
func (*ForkchoiceState) ProtoMessage()
func (*ForkchoiceState) ProtoReflect ¶
func (x *ForkchoiceState) ProtoReflect() protoreflect.Message
func (*ForkchoiceState) Reset ¶
func (x *ForkchoiceState) Reset()
func (*ForkchoiceState) String ¶
func (x *ForkchoiceState) String() string
func (*ForkchoiceState) UnmarshalJSON ¶
func (f *ForkchoiceState) UnmarshalJSON(enc []byte) error
UnmarshalJSON --
type GetPayloadV2ResponseJson ¶ added in v3.2.1
type GetPayloadV2ResponseJson struct { ExecutionPayload *ExecutionPayloadCapellaJSON `json:"executionPayload"` BlockValue string `json:"blockValue"` }
type PayloadAttributes ¶
type PayloadAttributes struct { Timestamp uint64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` PrevRandao []byte `protobuf:"bytes,2,opt,name=prev_randao,json=prevRandao,proto3" json:"prev_randao,omitempty" ssz-size:"32"` SuggestedFeeRecipient []byte `` /* 140-byte string literal not displayed */ // contains filtered or unexported fields }
func (*PayloadAttributes) Descriptor
deprecated
func (*PayloadAttributes) Descriptor() ([]byte, []int)
Deprecated: Use PayloadAttributes.ProtoReflect.Descriptor instead.
func (*PayloadAttributes) GetPrevRandao ¶
func (x *PayloadAttributes) GetPrevRandao() []byte
func (*PayloadAttributes) GetSuggestedFeeRecipient ¶
func (x *PayloadAttributes) GetSuggestedFeeRecipient() []byte
func (*PayloadAttributes) GetTimestamp ¶
func (x *PayloadAttributes) GetTimestamp() uint64
func (*PayloadAttributes) MarshalJSON ¶
func (p *PayloadAttributes) MarshalJSON() ([]byte, error)
MarshalJSON --
func (*PayloadAttributes) ProtoMessage ¶
func (*PayloadAttributes) ProtoMessage()
func (*PayloadAttributes) ProtoReflect ¶
func (x *PayloadAttributes) ProtoReflect() protoreflect.Message
func (*PayloadAttributes) Reset ¶
func (x *PayloadAttributes) Reset()
func (*PayloadAttributes) String ¶
func (x *PayloadAttributes) String() string
func (*PayloadAttributes) UnmarshalJSON ¶
func (p *PayloadAttributes) UnmarshalJSON(enc []byte) error
UnmarshalJSON --
type PayloadAttributesV2 ¶ added in v3.2.0
type PayloadAttributesV2 struct { Timestamp uint64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` PrevRandao []byte `protobuf:"bytes,2,opt,name=prev_randao,json=prevRandao,proto3" json:"prev_randao,omitempty" ssz-size:"32"` SuggestedFeeRecipient []byte `` /* 140-byte string literal not displayed */ Withdrawals []*Withdrawal `protobuf:"bytes,4,rep,name=withdrawals,proto3" json:"withdrawals,omitempty" ssz-max:"16"` // contains filtered or unexported fields }
func (*PayloadAttributesV2) Descriptor
deprecated
added in
v3.2.0
func (*PayloadAttributesV2) Descriptor() ([]byte, []int)
Deprecated: Use PayloadAttributesV2.ProtoReflect.Descriptor instead.
func (*PayloadAttributesV2) GetPrevRandao ¶ added in v3.2.0
func (x *PayloadAttributesV2) GetPrevRandao() []byte
func (*PayloadAttributesV2) GetSuggestedFeeRecipient ¶ added in v3.2.0
func (x *PayloadAttributesV2) GetSuggestedFeeRecipient() []byte
func (*PayloadAttributesV2) GetTimestamp ¶ added in v3.2.0
func (x *PayloadAttributesV2) GetTimestamp() uint64
func (*PayloadAttributesV2) GetWithdrawals ¶ added in v3.2.0
func (x *PayloadAttributesV2) GetWithdrawals() []*Withdrawal
func (*PayloadAttributesV2) MarshalJSON ¶ added in v3.2.1
func (p *PayloadAttributesV2) MarshalJSON() ([]byte, error)
MarshalJSON --
func (*PayloadAttributesV2) ProtoMessage ¶ added in v3.2.0
func (*PayloadAttributesV2) ProtoMessage()
func (*PayloadAttributesV2) ProtoReflect ¶ added in v3.2.0
func (x *PayloadAttributesV2) ProtoReflect() protoreflect.Message
func (*PayloadAttributesV2) Reset ¶ added in v3.2.0
func (x *PayloadAttributesV2) Reset()
func (*PayloadAttributesV2) String ¶ added in v3.2.0
func (x *PayloadAttributesV2) String() string
func (*PayloadAttributesV2) UnmarshalJSON ¶ added in v3.2.1
func (p *PayloadAttributesV2) UnmarshalJSON(enc []byte) error
type PayloadIDBytes ¶
type PayloadIDBytes [8]byte
PayloadIDBytes defines a custom type for Payload IDs used by the engine API client with proper JSON Marshal and Unmarshal methods to hex.
func (PayloadIDBytes) MarshalJSON ¶
func (b PayloadIDBytes) MarshalJSON() ([]byte, error)
MarshalJSON --
func (*PayloadIDBytes) UnmarshalJSON ¶
func (b *PayloadIDBytes) UnmarshalJSON(enc []byte) error
UnmarshalJSON --
type PayloadStatus ¶
type PayloadStatus struct { Status PayloadStatus_Status `protobuf:"varint,1,opt,name=status,proto3,enum=ethereum.engine.v1.PayloadStatus_Status" json:"status,omitempty"` LatestValidHash []byte `protobuf:"bytes,2,opt,name=latest_valid_hash,json=latestValidHash,proto3" json:"latest_valid_hash,omitempty" ssz-size:"32"` ValidationError string `protobuf:"bytes,3,opt,name=validation_error,json=validationError,proto3" json:"validation_error,omitempty"` // contains filtered or unexported fields }
func (*PayloadStatus) Descriptor
deprecated
func (*PayloadStatus) Descriptor() ([]byte, []int)
Deprecated: Use PayloadStatus.ProtoReflect.Descriptor instead.
func (*PayloadStatus) GetLatestValidHash ¶
func (x *PayloadStatus) GetLatestValidHash() []byte
func (*PayloadStatus) GetStatus ¶
func (x *PayloadStatus) GetStatus() PayloadStatus_Status
func (*PayloadStatus) GetValidationError ¶
func (x *PayloadStatus) GetValidationError() string
func (*PayloadStatus) MarshalJSON ¶
func (p *PayloadStatus) MarshalJSON() ([]byte, error)
MarshalJSON --
func (*PayloadStatus) ProtoMessage ¶
func (*PayloadStatus) ProtoMessage()
func (*PayloadStatus) ProtoReflect ¶
func (x *PayloadStatus) ProtoReflect() protoreflect.Message
func (*PayloadStatus) Reset ¶
func (x *PayloadStatus) Reset()
func (*PayloadStatus) String ¶
func (x *PayloadStatus) String() string
func (*PayloadStatus) UnmarshalJSON ¶
func (p *PayloadStatus) UnmarshalJSON(enc []byte) error
UnmarshalJSON --
type PayloadStatus_Status ¶
type PayloadStatus_Status int32
const ( PayloadStatus_UNKNOWN PayloadStatus_Status = 0 PayloadStatus_VALID PayloadStatus_Status = 1 PayloadStatus_INVALID PayloadStatus_Status = 2 PayloadStatus_SYNCING PayloadStatus_Status = 3 PayloadStatus_ACCEPTED PayloadStatus_Status = 4 PayloadStatus_INVALID_BLOCK_HASH PayloadStatus_Status = 5 )
func (PayloadStatus_Status) Descriptor ¶
func (PayloadStatus_Status) Descriptor() protoreflect.EnumDescriptor
func (PayloadStatus_Status) Enum ¶
func (x PayloadStatus_Status) Enum() *PayloadStatus_Status
func (PayloadStatus_Status) EnumDescriptor
deprecated
func (PayloadStatus_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use PayloadStatus_Status.Descriptor instead.
func (PayloadStatus_Status) Number ¶
func (x PayloadStatus_Status) Number() protoreflect.EnumNumber
func (PayloadStatus_Status) String ¶
func (x PayloadStatus_Status) String() string
func (PayloadStatus_Status) Type ¶
func (PayloadStatus_Status) Type() protoreflect.EnumType
type TransitionConfiguration ¶
type TransitionConfiguration struct { TerminalTotalDifficulty string `` /* 132-byte string literal not displayed */ TerminalBlockHash []byte `protobuf:"bytes,2,opt,name=terminal_block_hash,json=terminalBlockHash,proto3" json:"terminal_block_hash,omitempty"` TerminalBlockNumber []byte `protobuf:"bytes,3,opt,name=terminal_block_number,json=terminalBlockNumber,proto3" json:"terminal_block_number,omitempty"` // contains filtered or unexported fields }
func (*TransitionConfiguration) Descriptor
deprecated
func (*TransitionConfiguration) Descriptor() ([]byte, []int)
Deprecated: Use TransitionConfiguration.ProtoReflect.Descriptor instead.
func (*TransitionConfiguration) GetTerminalBlockHash ¶
func (x *TransitionConfiguration) GetTerminalBlockHash() []byte
func (*TransitionConfiguration) GetTerminalBlockNumber ¶
func (x *TransitionConfiguration) GetTerminalBlockNumber() []byte
func (*TransitionConfiguration) GetTerminalTotalDifficulty ¶
func (x *TransitionConfiguration) GetTerminalTotalDifficulty() string
func (*TransitionConfiguration) MarshalJSON ¶
func (t *TransitionConfiguration) MarshalJSON() ([]byte, error)
MarshalJSON --
func (*TransitionConfiguration) ProtoMessage ¶
func (*TransitionConfiguration) ProtoMessage()
func (*TransitionConfiguration) ProtoReflect ¶
func (x *TransitionConfiguration) ProtoReflect() protoreflect.Message
func (*TransitionConfiguration) Reset ¶
func (x *TransitionConfiguration) Reset()
func (*TransitionConfiguration) String ¶
func (x *TransitionConfiguration) String() string
func (*TransitionConfiguration) UnmarshalJSON ¶
func (t *TransitionConfiguration) UnmarshalJSON(enc []byte) error
UnmarshalJSON --
type Withdrawal ¶
type Withdrawal struct { Index uint64 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` ValidatorIndex github_com_prysmaticlabs_prysm_v3_consensus_types_primitives.ValidatorIndex `` /* 192-byte string literal not displayed */ Address []byte `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty" ssz-size:"20"` Amount uint64 `protobuf:"varint,4,opt,name=amount,proto3" json:"amount,omitempty"` // contains filtered or unexported fields }
func (*Withdrawal) Descriptor
deprecated
func (*Withdrawal) Descriptor() ([]byte, []int)
Deprecated: Use Withdrawal.ProtoReflect.Descriptor instead.
func (*Withdrawal) GetAddress ¶ added in v3.2.1
func (x *Withdrawal) GetAddress() []byte
func (*Withdrawal) GetAmount ¶
func (x *Withdrawal) GetAmount() uint64
func (*Withdrawal) GetIndex ¶ added in v3.2.1
func (x *Withdrawal) GetIndex() uint64
func (*Withdrawal) GetValidatorIndex ¶ added in v3.1.2
func (x *Withdrawal) GetValidatorIndex() github_com_prysmaticlabs_prysm_v3_consensus_types_primitives.ValidatorIndex
func (*Withdrawal) HashTreeRoot ¶
func (w *Withdrawal) HashTreeRoot() ([32]byte, error)
HashTreeRoot ssz hashes the Withdrawal object
func (*Withdrawal) HashTreeRootWith ¶
func (w *Withdrawal) HashTreeRootWith(hh *ssz.Hasher) (err error)
HashTreeRootWith ssz hashes the Withdrawal object with a hasher
func (*Withdrawal) MarshalJSON ¶ added in v3.2.1
func (w *Withdrawal) MarshalJSON() ([]byte, error)
func (*Withdrawal) MarshalSSZ ¶
func (w *Withdrawal) MarshalSSZ() ([]byte, error)
MarshalSSZ ssz marshals the Withdrawal object
func (*Withdrawal) MarshalSSZTo ¶
func (w *Withdrawal) MarshalSSZTo(buf []byte) (dst []byte, err error)
MarshalSSZTo ssz marshals the Withdrawal object to a target array
func (*Withdrawal) ProtoMessage ¶
func (*Withdrawal) ProtoMessage()
func (*Withdrawal) ProtoReflect ¶
func (x *Withdrawal) ProtoReflect() protoreflect.Message
func (*Withdrawal) Reset ¶
func (x *Withdrawal) Reset()
func (*Withdrawal) SizeSSZ ¶
func (w *Withdrawal) SizeSSZ() (size int)
SizeSSZ returns the ssz encoded size in bytes for the Withdrawal object
func (*Withdrawal) String ¶
func (x *Withdrawal) String() string
func (*Withdrawal) UnmarshalJSON ¶ added in v3.2.1
func (w *Withdrawal) UnmarshalJSON(enc []byte) error
func (*Withdrawal) UnmarshalSSZ ¶
func (w *Withdrawal) UnmarshalSSZ(buf []byte) error
UnmarshalSSZ ssz unmarshals the Withdrawal object