enginev1

package
v5.1.2-mekong Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 7, 2024 License: GPL-3.0 Imports: 18 Imported by: 4

Documentation

Overview

Code generated by fastssz. DO NOT EDIT. Hash: 8a6de344d09e1816df88ecbd15d95382cdc9872ebae99c397396da1ed2c83688

Index

Constants

View Source
const (
	BlsPubKeyLen = 48
	BlsSignLen   = 96
)
View Source
const LenExecutionRequestsElectra = 3

Variables

View Source
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.

View Source
var File_proto_engine_v1_electra_proto protoreflect.FileDescriptor
View Source
var File_proto_engine_v1_execution_engine_proto protoreflect.FileDescriptor

Functions

func EncodeExecutionRequests added in v5.2.0

func EncodeExecutionRequests(requests *ExecutionRequests) ([]hexutil.Bytes, error)

func RecastHexutilByteSlice added in v5.1.0

func RecastHexutilByteSlice(h []hexutil.Bytes) [][]byte

RecastHexutilByteSlice converts a []hexutil.Bytes to a [][]byte

Types

type Blob

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

func (*Blob) Descriptor() ([]byte, []int)

Deprecated: Use Blob.ProtoReflect.Descriptor instead.

func (*Blob) GetData

func (x *Blob) GetData() []byte

func (*Blob) ProtoMessage

func (*Blob) ProtoMessage()

func (*Blob) ProtoReflect

func (x *Blob) ProtoReflect() protoreflect.Message

func (*Blob) Reset

func (x *Blob) Reset()

func (*Blob) String

func (x *Blob) String() string

type BlobBundleJSON

type BlobBundleJSON struct {
	Commitments []hexutil.Bytes `json:"commitments"`
	Proofs      []hexutil.Bytes `json:"proofs"`
	Blobs       []hexutil.Bytes `json:"blobs"`
}

func (BlobBundleJSON) ToProto

func (b BlobBundleJSON) ToProto() *BlobsBundle

type BlobsBundle

type BlobsBundle struct {
	KzgCommitments [][]byte `` /* 134-byte string literal not displayed */
	Proofs         [][]byte `protobuf:"bytes,2,rep,name=proofs,proto3" json:"proofs,omitempty" ssz-max:"4096" ssz-size:"?,48"`
	Blobs          [][]byte `protobuf:"bytes,3,rep,name=blobs,proto3" json:"blobs,omitempty" ssz-max:"4096" ssz-size:"?,131072"`
	// contains filtered or unexported fields
}

func (*BlobsBundle) Descriptor deprecated

func (*BlobsBundle) Descriptor() ([]byte, []int)

Deprecated: Use BlobsBundle.ProtoReflect.Descriptor instead.

func (*BlobsBundle) GetBlobs

func (x *BlobsBundle) GetBlobs() [][]byte

func (*BlobsBundle) GetKzgCommitments

func (x *BlobsBundle) GetKzgCommitments() [][]byte

func (*BlobsBundle) GetProofs

func (x *BlobsBundle) GetProofs() [][]byte

func (*BlobsBundle) HashTreeRoot

func (b *BlobsBundle) HashTreeRoot() ([32]byte, error)

HashTreeRoot ssz hashes the BlobsBundle object

func (*BlobsBundle) HashTreeRootWith

func (b *BlobsBundle) HashTreeRootWith(hh *ssz.Hasher) (err error)

HashTreeRootWith ssz hashes the BlobsBundle object with a hasher

func (*BlobsBundle) MarshalSSZ

func (b *BlobsBundle) MarshalSSZ() ([]byte, error)

MarshalSSZ ssz marshals the BlobsBundle object

func (*BlobsBundle) MarshalSSZTo

func (b *BlobsBundle) MarshalSSZTo(buf []byte) (dst []byte, err error)

MarshalSSZTo ssz marshals the BlobsBundle object to a target array

func (*BlobsBundle) ProtoMessage

func (*BlobsBundle) ProtoMessage()

func (*BlobsBundle) ProtoReflect

func (x *BlobsBundle) ProtoReflect() protoreflect.Message

func (*BlobsBundle) Reset

func (x *BlobsBundle) Reset()

func (*BlobsBundle) SizeSSZ

func (b *BlobsBundle) SizeSSZ() (size int)

SizeSSZ returns the ssz encoded size in bytes for the BlobsBundle object

func (*BlobsBundle) String

func (x *BlobsBundle) String() string

func (*BlobsBundle) UnmarshalSSZ

func (b *BlobsBundle) UnmarshalSSZ(buf []byte) error

UnmarshalSSZ ssz unmarshals the BlobsBundle object

type BlsPubkey added in v5.1.0

type BlsPubkey [BlsPubKeyLen]byte

BlsPubkey represents a 48 byte BLS public key.

func (BlsPubkey) Bytes added in v5.1.0

func (v BlsPubkey) Bytes() []byte

Bytes is a convenient way to get the byte slice for a BlsPubkey.

func (BlsPubkey) MarshalText added in v5.1.0

func (v BlsPubkey) MarshalText() ([]byte, error)

MarshalText returns the hex representation of a.

func (*BlsPubkey) UnmarshalText added in v5.1.0

func (v *BlsPubkey) UnmarshalText(input []byte) error

UnmarshalText parses a hash in hex syntax.

type BlsSig added in v5.1.0

type BlsSig [BlsSignLen]byte

BlsSig represents a 96 byte BLS signature.

func (BlsSig) Bytes added in v5.1.0

func (v BlsSig) Bytes() []byte

Bytes is a convenient way to get the byte slice for a BlsSig.

func (BlsSig) MarshalText added in v5.1.0

func (v BlsSig) MarshalText() ([]byte, error)

MarshalText returns the hex representation of a BlsSig.

func (*BlsSig) UnmarshalText added in v5.1.0

func (v *BlsSig) UnmarshalText(input []byte) error

UnmarshalText parses a BlsSig in hex encoding.

type ConsolidationRequest added in v5.1.0

type ConsolidationRequest struct {
	SourceAddress []byte `protobuf:"bytes,1,opt,name=source_address,json=sourceAddress,proto3" json:"source_address,omitempty" ssz-size:"20"`
	SourcePubkey  []byte `protobuf:"bytes,2,opt,name=source_pubkey,json=sourcePubkey,proto3" json:"source_pubkey,omitempty" ssz-size:"48"`
	TargetPubkey  []byte `protobuf:"bytes,3,opt,name=target_pubkey,json=targetPubkey,proto3" json:"target_pubkey,omitempty" ssz-size:"48"`
	// contains filtered or unexported fields
}

func JsonConsolidationRequestsToProto added in v5.1.0

func JsonConsolidationRequestsToProto(j []ConsolidationRequestV1) ([]*ConsolidationRequest, error)

func (*ConsolidationRequest) Copy added in v5.1.0

Copy --

func (*ConsolidationRequest) Descriptor deprecated added in v5.1.0

func (*ConsolidationRequest) Descriptor() ([]byte, []int)

Deprecated: Use ConsolidationRequest.ProtoReflect.Descriptor instead.

func (*ConsolidationRequest) GetSourceAddress added in v5.1.0

func (x *ConsolidationRequest) GetSourceAddress() []byte

func (*ConsolidationRequest) GetSourcePubkey added in v5.1.0

func (x *ConsolidationRequest) GetSourcePubkey() []byte

func (*ConsolidationRequest) GetTargetPubkey added in v5.1.0

func (x *ConsolidationRequest) GetTargetPubkey() []byte

func (*ConsolidationRequest) HashTreeRoot added in v5.1.0

func (c *ConsolidationRequest) HashTreeRoot() ([32]byte, error)

HashTreeRoot ssz hashes the ConsolidationRequest object

func (*ConsolidationRequest) HashTreeRootWith added in v5.1.0

func (c *ConsolidationRequest) HashTreeRootWith(hh *ssz.Hasher) (err error)

HashTreeRootWith ssz hashes the ConsolidationRequest object with a hasher

func (*ConsolidationRequest) MarshalSSZ added in v5.1.0

func (c *ConsolidationRequest) MarshalSSZ() ([]byte, error)

MarshalSSZ ssz marshals the ConsolidationRequest object

func (*ConsolidationRequest) MarshalSSZTo added in v5.1.0

func (c *ConsolidationRequest) MarshalSSZTo(buf []byte) (dst []byte, err error)

MarshalSSZTo ssz marshals the ConsolidationRequest object to a target array

func (*ConsolidationRequest) ProtoMessage added in v5.1.0

func (*ConsolidationRequest) ProtoMessage()

func (*ConsolidationRequest) ProtoReflect added in v5.1.0

func (x *ConsolidationRequest) ProtoReflect() protoreflect.Message

func (*ConsolidationRequest) Reset added in v5.1.0

func (x *ConsolidationRequest) Reset()

func (*ConsolidationRequest) SizeSSZ added in v5.1.0

func (c *ConsolidationRequest) SizeSSZ() (size int)

SizeSSZ returns the ssz encoded size in bytes for the ConsolidationRequest object

func (*ConsolidationRequest) String added in v5.1.0

func (x *ConsolidationRequest) String() string

func (*ConsolidationRequest) UnmarshalSSZ added in v5.1.0

func (c *ConsolidationRequest) UnmarshalSSZ(buf []byte) error

UnmarshalSSZ ssz unmarshals the ConsolidationRequest object

type ConsolidationRequestV1 added in v5.1.0

type ConsolidationRequestV1 struct {
	// sourceAddress: DATA, 20 Bytes
	SourceAddress *common.Address `json:"sourceAddress"`
	// sourcePubkey: DATA, 48 Bytes
	SourcePubkey *BlsPubkey `json:"sourcePubkey"`
	// targetPubkey: DATA, 48 Bytes
	TargetPubkey *BlsPubkey `json:"targetPubkey"`
}

ConsolidationRequestV1 represents an execution engine ConsolidationRequestV1 value https://github.com/ethereum/execution-apis/blob/main/src/engine/prague.md#consolidationrequestv1

func ProtoConsolidationRequestsToJson added in v5.1.0

func ProtoConsolidationRequestsToJson(reqs []*ConsolidationRequest) []ConsolidationRequestV1

func (ConsolidationRequestV1) Validate added in v5.1.0

func (r ConsolidationRequestV1) Validate() error

type DepositRequest added in v5.1.0

type DepositRequest struct {
	Pubkey                []byte `protobuf:"bytes,1,opt,name=pubkey,proto3" json:"pubkey,omitempty" ssz-size:"48"`
	WithdrawalCredentials []byte `` /* 138-byte string literal not displayed */
	Amount                uint64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"`
	Signature             []byte `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty" ssz-size:"96"`
	Index                 uint64 `protobuf:"varint,5,opt,name=index,proto3" json:"index,omitempty"`
	// contains filtered or unexported fields
}

func JsonDepositRequestsToProto added in v5.1.0

func JsonDepositRequestsToProto(j []DepositRequestV1) ([]*DepositRequest, error)

func (*DepositRequest) Copy added in v5.1.0

func (d *DepositRequest) Copy() *DepositRequest

Copy --

func (*DepositRequest) Descriptor deprecated added in v5.1.0

func (*DepositRequest) Descriptor() ([]byte, []int)

Deprecated: Use DepositRequest.ProtoReflect.Descriptor instead.

func (*DepositRequest) GetAmount added in v5.1.0

func (x *DepositRequest) GetAmount() uint64

func (*DepositRequest) GetIndex added in v5.1.0

func (x *DepositRequest) GetIndex() uint64

func (*DepositRequest) GetPubkey added in v5.1.0

func (x *DepositRequest) GetPubkey() []byte

func (*DepositRequest) GetSignature added in v5.1.0

func (x *DepositRequest) GetSignature() []byte

func (*DepositRequest) GetWithdrawalCredentials added in v5.1.0

func (x *DepositRequest) GetWithdrawalCredentials() []byte

func (*DepositRequest) HashTreeRoot added in v5.1.0

func (d *DepositRequest) HashTreeRoot() ([32]byte, error)

HashTreeRoot ssz hashes the DepositRequest object

func (*DepositRequest) HashTreeRootWith added in v5.1.0

func (d *DepositRequest) HashTreeRootWith(hh *ssz.Hasher) (err error)

HashTreeRootWith ssz hashes the DepositRequest object with a hasher

func (*DepositRequest) MarshalSSZ added in v5.1.0

func (d *DepositRequest) MarshalSSZ() ([]byte, error)

MarshalSSZ ssz marshals the DepositRequest object

func (*DepositRequest) MarshalSSZTo added in v5.1.0

func (d *DepositRequest) MarshalSSZTo(buf []byte) (dst []byte, err error)

MarshalSSZTo ssz marshals the DepositRequest object to a target array

func (*DepositRequest) ProtoMessage added in v5.1.0

func (*DepositRequest) ProtoMessage()

func (*DepositRequest) ProtoReflect added in v5.1.0

func (x *DepositRequest) ProtoReflect() protoreflect.Message

func (*DepositRequest) Reset added in v5.1.0

func (x *DepositRequest) Reset()

func (*DepositRequest) SizeSSZ added in v5.1.0

func (d *DepositRequest) SizeSSZ() (size int)

SizeSSZ returns the ssz encoded size in bytes for the DepositRequest object

func (*DepositRequest) String added in v5.1.0

func (x *DepositRequest) String() string

func (*DepositRequest) UnmarshalSSZ added in v5.1.0

func (d *DepositRequest) UnmarshalSSZ(buf []byte) error

UnmarshalSSZ ssz unmarshals the DepositRequest object

type DepositRequestV1 added in v5.1.0

type DepositRequestV1 struct {
	// pubkey: DATA, 48 Bytes
	PubKey *BlsPubkey `json:"pubkey"`
	// withdrawalCredentials: DATA, 32 Bytes
	WithdrawalCredentials *common.Hash `json:"withdrawalCredentials"`
	// amount: QUANTITY, 64 Bits
	Amount *hexutil.Uint64 `json:"amount"`
	// signature: DATA, 96 Bytes
	Signature *BlsSig `json:"signature"`
	// index: QUANTITY, 64 Bits
	Index *hexutil.Uint64 `json:"index"`
}

DepositRequestV1 represents an execution engine DepositRequestV1 value https://github.com/ethereum/execution-apis/blob/main/src/engine/prague.md#depositrequestv1

func ProtoDepositRequestsToJson added in v5.1.0

func ProtoDepositRequestsToJson(reqs []*DepositRequest) []DepositRequestV1

func (DepositRequestV1) Validate added in v5.1.0

func (r DepositRequestV1) Validate() error

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 ExecutionBundleElectra added in v5.2.0

type ExecutionBundleElectra struct {
	Payload               *ExecutionPayloadDeneb `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
	Value                 []byte                 `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	BlobsBundle           *BlobsBundle           `protobuf:"bytes,3,opt,name=blobs_bundle,json=blobsBundle,proto3" json:"blobs_bundle,omitempty"`
	ShouldOverrideBuilder bool                   `` /* 127-byte string literal not displayed */
	ExecutionRequests     [][]byte               `protobuf:"bytes,5,rep,name=execution_requests,json=executionRequests,proto3" json:"execution_requests,omitempty"`
	// contains filtered or unexported fields
}

func (*ExecutionBundleElectra) Descriptor deprecated added in v5.2.0

func (*ExecutionBundleElectra) Descriptor() ([]byte, []int)

Deprecated: Use ExecutionBundleElectra.ProtoReflect.Descriptor instead.

func (*ExecutionBundleElectra) GetBlobsBundle added in v5.2.0

func (x *ExecutionBundleElectra) GetBlobsBundle() *BlobsBundle

func (*ExecutionBundleElectra) GetDecodedExecutionRequests added in v5.2.0

func (ebe *ExecutionBundleElectra) GetDecodedExecutionRequests() (*ExecutionRequests, error)

func (*ExecutionBundleElectra) GetExecutionRequests added in v5.2.0

func (x *ExecutionBundleElectra) GetExecutionRequests() [][]byte

func (*ExecutionBundleElectra) GetPayload added in v5.2.0

func (*ExecutionBundleElectra) GetShouldOverrideBuilder added in v5.2.0

func (x *ExecutionBundleElectra) GetShouldOverrideBuilder() bool

func (*ExecutionBundleElectra) GetValue added in v5.2.0

func (x *ExecutionBundleElectra) GetValue() []byte

func (*ExecutionBundleElectra) ProtoMessage added in v5.2.0

func (*ExecutionBundleElectra) ProtoMessage()

func (*ExecutionBundleElectra) ProtoReflect added in v5.2.0

func (x *ExecutionBundleElectra) ProtoReflect() protoreflect.Message

func (*ExecutionBundleElectra) Reset added in v5.2.0

func (x *ExecutionBundleElectra) Reset()

func (*ExecutionBundleElectra) String added in v5.2.0

func (x *ExecutionBundleElectra) String() string

func (*ExecutionBundleElectra) UnmarshalJSON added in v5.2.0

func (e *ExecutionBundleElectra) 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) Copy added in v5.1.0

func (payload *ExecutionPayload) Copy() *ExecutionPayload

Copy -- Bellatrix

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 ExecutionPayloadBody added in v5.1.0

type ExecutionPayloadBody struct {
	Transactions          []hexutil.Bytes          `json:"transactions"`
	Withdrawals           []*Withdrawal            `json:"withdrawals"`
	WithdrawalRequests    []WithdrawalRequestV1    `json:"withdrawalRequests"`
	DepositRequests       []DepositRequestV1       `json:"depositRequests"`
	ConsolidationRequests []ConsolidationRequestV1 `json:"consolidationRequests"`
}

ExecutionPayloadBody represents the engine API ExecutionPayloadV1 or ExecutionPayloadV2 type.

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) Copy added in v5.1.0

Copy -- Capella

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

func (e *ExecutionPayloadCapella) HashTreeRoot() ([32]byte, error)

HashTreeRoot ssz hashes the ExecutionPayloadCapella object

func (*ExecutionPayloadCapella) HashTreeRootWith

func (e *ExecutionPayloadCapella) HashTreeRootWith(hh *ssz.Hasher) (err error)

HashTreeRootWith ssz hashes the ExecutionPayloadCapella object with a hasher

func (*ExecutionPayloadCapella) MarshalJSON

func (e *ExecutionPayloadCapella) MarshalJSON() ([]byte, error)

MarshalJSON --

func (*ExecutionPayloadCapella) MarshalSSZ

func (e *ExecutionPayloadCapella) MarshalSSZ() ([]byte, error)

MarshalSSZ ssz marshals the ExecutionPayloadCapella object

func (*ExecutionPayloadCapella) MarshalSSZTo

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

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) UnmarshalSSZ

func (e *ExecutionPayloadCapella) UnmarshalSSZ(buf []byte) error

UnmarshalSSZ ssz unmarshals the ExecutionPayloadCapella object

type ExecutionPayloadCapellaJSON

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 ExecutionPayloadCapellaWithValue

type ExecutionPayloadCapellaWithValue struct {
	Payload *ExecutionPayloadCapella `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
	Value   []byte                   `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*ExecutionPayloadCapellaWithValue) Descriptor deprecated

func (*ExecutionPayloadCapellaWithValue) Descriptor() ([]byte, []int)

Deprecated: Use ExecutionPayloadCapellaWithValue.ProtoReflect.Descriptor instead.

func (*ExecutionPayloadCapellaWithValue) GetPayload

func (*ExecutionPayloadCapellaWithValue) GetValue

func (x *ExecutionPayloadCapellaWithValue) GetValue() []byte

func (*ExecutionPayloadCapellaWithValue) ProtoMessage

func (*ExecutionPayloadCapellaWithValue) ProtoMessage()

func (*ExecutionPayloadCapellaWithValue) ProtoReflect

func (*ExecutionPayloadCapellaWithValue) Reset

func (*ExecutionPayloadCapellaWithValue) String

func (*ExecutionPayloadCapellaWithValue) UnmarshalJSON

func (e *ExecutionPayloadCapellaWithValue) UnmarshalJSON(enc []byte) error

UnmarshalJSON --

type ExecutionPayloadDeneb

type ExecutionPayloadDeneb 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"`
	BlobGasUsed   uint64        `protobuf:"varint,16,opt,name=blob_gas_used,json=blobGasUsed,proto3" json:"blob_gas_used,omitempty"`
	ExcessBlobGas uint64        `protobuf:"varint,17,opt,name=excess_blob_gas,json=excessBlobGas,proto3" json:"excess_blob_gas,omitempty"`
	// contains filtered or unexported fields
}

func (*ExecutionPayloadDeneb) Copy added in v5.1.0

Copy -- Deneb

func (*ExecutionPayloadDeneb) Descriptor deprecated

func (*ExecutionPayloadDeneb) Descriptor() ([]byte, []int)

Deprecated: Use ExecutionPayloadDeneb.ProtoReflect.Descriptor instead.

func (*ExecutionPayloadDeneb) GetBaseFeePerGas

func (x *ExecutionPayloadDeneb) GetBaseFeePerGas() []byte

func (*ExecutionPayloadDeneb) GetBlobGasUsed

func (x *ExecutionPayloadDeneb) GetBlobGasUsed() uint64

func (*ExecutionPayloadDeneb) GetBlockHash

func (x *ExecutionPayloadDeneb) GetBlockHash() []byte

func (*ExecutionPayloadDeneb) GetBlockNumber

func (x *ExecutionPayloadDeneb) GetBlockNumber() uint64

func (*ExecutionPayloadDeneb) GetExcessBlobGas

func (x *ExecutionPayloadDeneb) GetExcessBlobGas() uint64

func (*ExecutionPayloadDeneb) GetExtraData

func (x *ExecutionPayloadDeneb) GetExtraData() []byte

func (*ExecutionPayloadDeneb) GetFeeRecipient

func (x *ExecutionPayloadDeneb) GetFeeRecipient() []byte

func (*ExecutionPayloadDeneb) GetGasLimit

func (x *ExecutionPayloadDeneb) GetGasLimit() uint64

func (*ExecutionPayloadDeneb) GetGasUsed

func (x *ExecutionPayloadDeneb) GetGasUsed() uint64

func (*ExecutionPayloadDeneb) GetLogsBloom

func (x *ExecutionPayloadDeneb) GetLogsBloom() []byte

func (*ExecutionPayloadDeneb) GetParentHash

func (x *ExecutionPayloadDeneb) GetParentHash() []byte

func (*ExecutionPayloadDeneb) GetPrevRandao

func (x *ExecutionPayloadDeneb) GetPrevRandao() []byte

func (*ExecutionPayloadDeneb) GetReceiptsRoot

func (x *ExecutionPayloadDeneb) GetReceiptsRoot() []byte

func (*ExecutionPayloadDeneb) GetStateRoot

func (x *ExecutionPayloadDeneb) GetStateRoot() []byte

func (*ExecutionPayloadDeneb) GetTimestamp

func (x *ExecutionPayloadDeneb) GetTimestamp() uint64

func (*ExecutionPayloadDeneb) GetTransactions

func (x *ExecutionPayloadDeneb) GetTransactions() [][]byte

func (*ExecutionPayloadDeneb) GetWithdrawals

func (x *ExecutionPayloadDeneb) GetWithdrawals() []*Withdrawal

func (*ExecutionPayloadDeneb) HashTreeRoot

func (e *ExecutionPayloadDeneb) HashTreeRoot() ([32]byte, error)

HashTreeRoot ssz hashes the ExecutionPayloadDeneb object

func (*ExecutionPayloadDeneb) HashTreeRootWith

func (e *ExecutionPayloadDeneb) HashTreeRootWith(hh *ssz.Hasher) (err error)

HashTreeRootWith ssz hashes the ExecutionPayloadDeneb object with a hasher

func (*ExecutionPayloadDeneb) MarshalJSON

func (e *ExecutionPayloadDeneb) MarshalJSON() ([]byte, error)

MarshalJSON --

func (*ExecutionPayloadDeneb) MarshalSSZ

func (e *ExecutionPayloadDeneb) MarshalSSZ() ([]byte, error)

MarshalSSZ ssz marshals the ExecutionPayloadDeneb object

func (*ExecutionPayloadDeneb) MarshalSSZTo

func (e *ExecutionPayloadDeneb) MarshalSSZTo(buf []byte) (dst []byte, err error)

MarshalSSZTo ssz marshals the ExecutionPayloadDeneb object to a target array

func (*ExecutionPayloadDeneb) ProtoMessage

func (*ExecutionPayloadDeneb) ProtoMessage()

func (*ExecutionPayloadDeneb) ProtoReflect

func (x *ExecutionPayloadDeneb) ProtoReflect() protoreflect.Message

func (*ExecutionPayloadDeneb) Reset

func (x *ExecutionPayloadDeneb) Reset()

func (*ExecutionPayloadDeneb) SizeSSZ

func (e *ExecutionPayloadDeneb) SizeSSZ() (size int)

SizeSSZ returns the ssz encoded size in bytes for the ExecutionPayloadDeneb object

func (*ExecutionPayloadDeneb) String

func (x *ExecutionPayloadDeneb) String() string

func (*ExecutionPayloadDeneb) UnmarshalSSZ

func (e *ExecutionPayloadDeneb) UnmarshalSSZ(buf []byte) error

UnmarshalSSZ ssz unmarshals the ExecutionPayloadDeneb object

type ExecutionPayloadDenebJSON

type ExecutionPayloadDenebJSON 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"`
	BlobGasUsed   *hexutil.Uint64 `json:"blobGasUsed"`
	ExcessBlobGas *hexutil.Uint64 `json:"excessBlobGas"`
	BlockHash     *common.Hash    `json:"blockHash"`
	Transactions  []hexutil.Bytes `json:"transactions"`
	Withdrawals   []*Withdrawal   `json:"withdrawals"`
}

type ExecutionPayloadDenebWithValueAndBlobsBundle

type ExecutionPayloadDenebWithValueAndBlobsBundle struct {
	Payload               *ExecutionPayloadDeneb `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
	Value                 []byte                 `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	BlobsBundle           *BlobsBundle           `protobuf:"bytes,3,opt,name=blobs_bundle,json=blobsBundle,proto3" json:"blobs_bundle,omitempty"`
	ShouldOverrideBuilder bool                   `` /* 127-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ExecutionPayloadDenebWithValueAndBlobsBundle) Descriptor deprecated

Deprecated: Use ExecutionPayloadDenebWithValueAndBlobsBundle.ProtoReflect.Descriptor instead.

func (*ExecutionPayloadDenebWithValueAndBlobsBundle) GetBlobsBundle

func (*ExecutionPayloadDenebWithValueAndBlobsBundle) GetPayload

func (*ExecutionPayloadDenebWithValueAndBlobsBundle) GetShouldOverrideBuilder

func (x *ExecutionPayloadDenebWithValueAndBlobsBundle) GetShouldOverrideBuilder() bool

func (*ExecutionPayloadDenebWithValueAndBlobsBundle) GetValue

func (*ExecutionPayloadDenebWithValueAndBlobsBundle) ProtoMessage

func (*ExecutionPayloadDenebWithValueAndBlobsBundle) ProtoReflect

func (*ExecutionPayloadDenebWithValueAndBlobsBundle) Reset

func (*ExecutionPayloadDenebWithValueAndBlobsBundle) String

func (*ExecutionPayloadDenebWithValueAndBlobsBundle) UnmarshalJSON

type ExecutionPayloadElectra added in v5.1.0

type ExecutionPayloadElectra = ExecutionPayloadDeneb

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) Copy added in v5.1.0

Copy -- Bellatrix

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) Copy added in v5.1.0

Copy -- Capella

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

func (e *ExecutionPayloadHeaderCapella) HashTreeRoot() ([32]byte, error)

HashTreeRoot ssz hashes the ExecutionPayloadHeaderCapella object

func (*ExecutionPayloadHeaderCapella) HashTreeRootWith

func (e *ExecutionPayloadHeaderCapella) HashTreeRootWith(hh *ssz.Hasher) (err error)

HashTreeRootWith ssz hashes the ExecutionPayloadHeaderCapella object with a hasher

func (*ExecutionPayloadHeaderCapella) MarshalSSZ

func (e *ExecutionPayloadHeaderCapella) MarshalSSZ() ([]byte, error)

MarshalSSZ ssz marshals the ExecutionPayloadHeaderCapella object

func (*ExecutionPayloadHeaderCapella) MarshalSSZTo

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 (*ExecutionPayloadHeaderCapella) Reset

func (x *ExecutionPayloadHeaderCapella) Reset()

func (*ExecutionPayloadHeaderCapella) SizeSSZ

func (e *ExecutionPayloadHeaderCapella) SizeSSZ() (size int)

SizeSSZ returns the ssz encoded size in bytes for the ExecutionPayloadHeaderCapella object

func (*ExecutionPayloadHeaderCapella) String

func (*ExecutionPayloadHeaderCapella) UnmarshalSSZ

func (e *ExecutionPayloadHeaderCapella) UnmarshalSSZ(buf []byte) error

UnmarshalSSZ ssz unmarshals the ExecutionPayloadHeaderCapella object

type ExecutionPayloadHeaderDeneb

type ExecutionPayloadHeaderDeneb 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"`
	BlobGasUsed      uint64 `protobuf:"varint,16,opt,name=blob_gas_used,json=blobGasUsed,proto3" json:"blob_gas_used,omitempty"`
	ExcessBlobGas    uint64 `protobuf:"varint,17,opt,name=excess_blob_gas,json=excessBlobGas,proto3" json:"excess_blob_gas,omitempty"`
	// contains filtered or unexported fields
}

func (*ExecutionPayloadHeaderDeneb) Copy added in v5.1.0

Copy -- Deneb

func (*ExecutionPayloadHeaderDeneb) Descriptor deprecated

func (*ExecutionPayloadHeaderDeneb) Descriptor() ([]byte, []int)

Deprecated: Use ExecutionPayloadHeaderDeneb.ProtoReflect.Descriptor instead.

func (*ExecutionPayloadHeaderDeneb) GetBaseFeePerGas

func (x *ExecutionPayloadHeaderDeneb) GetBaseFeePerGas() []byte

func (*ExecutionPayloadHeaderDeneb) GetBlobGasUsed

func (x *ExecutionPayloadHeaderDeneb) GetBlobGasUsed() uint64

func (*ExecutionPayloadHeaderDeneb) GetBlockHash

func (x *ExecutionPayloadHeaderDeneb) GetBlockHash() []byte

func (*ExecutionPayloadHeaderDeneb) GetBlockNumber

func (x *ExecutionPayloadHeaderDeneb) GetBlockNumber() uint64

func (*ExecutionPayloadHeaderDeneb) GetExcessBlobGas

func (x *ExecutionPayloadHeaderDeneb) GetExcessBlobGas() uint64

func (*ExecutionPayloadHeaderDeneb) GetExtraData

func (x *ExecutionPayloadHeaderDeneb) GetExtraData() []byte

func (*ExecutionPayloadHeaderDeneb) GetFeeRecipient

func (x *ExecutionPayloadHeaderDeneb) GetFeeRecipient() []byte

func (*ExecutionPayloadHeaderDeneb) GetGasLimit

func (x *ExecutionPayloadHeaderDeneb) GetGasLimit() uint64

func (*ExecutionPayloadHeaderDeneb) GetGasUsed

func (x *ExecutionPayloadHeaderDeneb) GetGasUsed() uint64

func (*ExecutionPayloadHeaderDeneb) GetLogsBloom

func (x *ExecutionPayloadHeaderDeneb) GetLogsBloom() []byte

func (*ExecutionPayloadHeaderDeneb) GetParentHash

func (x *ExecutionPayloadHeaderDeneb) GetParentHash() []byte

func (*ExecutionPayloadHeaderDeneb) GetPrevRandao

func (x *ExecutionPayloadHeaderDeneb) GetPrevRandao() []byte

func (*ExecutionPayloadHeaderDeneb) GetReceiptsRoot

func (x *ExecutionPayloadHeaderDeneb) GetReceiptsRoot() []byte

func (*ExecutionPayloadHeaderDeneb) GetStateRoot

func (x *ExecutionPayloadHeaderDeneb) GetStateRoot() []byte

func (*ExecutionPayloadHeaderDeneb) GetTimestamp

func (x *ExecutionPayloadHeaderDeneb) GetTimestamp() uint64

func (*ExecutionPayloadHeaderDeneb) GetTransactionsRoot

func (x *ExecutionPayloadHeaderDeneb) GetTransactionsRoot() []byte

func (*ExecutionPayloadHeaderDeneb) GetWithdrawalsRoot

func (x *ExecutionPayloadHeaderDeneb) GetWithdrawalsRoot() []byte

func (*ExecutionPayloadHeaderDeneb) HashTreeRoot

func (e *ExecutionPayloadHeaderDeneb) HashTreeRoot() ([32]byte, error)

HashTreeRoot ssz hashes the ExecutionPayloadHeaderDeneb object

func (*ExecutionPayloadHeaderDeneb) HashTreeRootWith

func (e *ExecutionPayloadHeaderDeneb) HashTreeRootWith(hh *ssz.Hasher) (err error)

HashTreeRootWith ssz hashes the ExecutionPayloadHeaderDeneb object with a hasher

func (*ExecutionPayloadHeaderDeneb) MarshalSSZ

func (e *ExecutionPayloadHeaderDeneb) MarshalSSZ() ([]byte, error)

MarshalSSZ ssz marshals the ExecutionPayloadHeaderDeneb object

func (*ExecutionPayloadHeaderDeneb) MarshalSSZTo

func (e *ExecutionPayloadHeaderDeneb) MarshalSSZTo(buf []byte) (dst []byte, err error)

MarshalSSZTo ssz marshals the ExecutionPayloadHeaderDeneb object to a target array

func (*ExecutionPayloadHeaderDeneb) ProtoMessage

func (*ExecutionPayloadHeaderDeneb) ProtoMessage()

func (*ExecutionPayloadHeaderDeneb) ProtoReflect

func (*ExecutionPayloadHeaderDeneb) Reset

func (x *ExecutionPayloadHeaderDeneb) Reset()

func (*ExecutionPayloadHeaderDeneb) SizeSSZ

func (e *ExecutionPayloadHeaderDeneb) SizeSSZ() (size int)

SizeSSZ returns the ssz encoded size in bytes for the ExecutionPayloadHeaderDeneb object

func (*ExecutionPayloadHeaderDeneb) String

func (x *ExecutionPayloadHeaderDeneb) String() string

func (*ExecutionPayloadHeaderDeneb) UnmarshalSSZ

func (e *ExecutionPayloadHeaderDeneb) UnmarshalSSZ(buf []byte) error

UnmarshalSSZ ssz unmarshals the ExecutionPayloadHeaderDeneb object

type ExecutionPayloadHeaderElectra added in v5.1.0

type ExecutionPayloadHeaderElectra = ExecutionPayloadHeaderDeneb

type ExecutionRequests added in v5.1.1

type ExecutionRequests struct {
	Deposits       []*DepositRequest       `protobuf:"bytes,1,rep,name=deposits,proto3" json:"deposits,omitempty" ssz-max:"8192"`
	Withdrawals    []*WithdrawalRequest    `protobuf:"bytes,2,rep,name=withdrawals,proto3" json:"withdrawals,omitempty" ssz-max:"16"`
	Consolidations []*ConsolidationRequest `protobuf:"bytes,3,rep,name=consolidations,proto3" json:"consolidations,omitempty" ssz-max:"1"`
	// contains filtered or unexported fields
}

func (*ExecutionRequests) Descriptor deprecated added in v5.1.1

func (*ExecutionRequests) Descriptor() ([]byte, []int)

Deprecated: Use ExecutionRequests.ProtoReflect.Descriptor instead.

func (*ExecutionRequests) GetConsolidations added in v5.1.1

func (x *ExecutionRequests) GetConsolidations() []*ConsolidationRequest

func (*ExecutionRequests) GetDeposits added in v5.1.1

func (x *ExecutionRequests) GetDeposits() []*DepositRequest

func (*ExecutionRequests) GetWithdrawals added in v5.1.1

func (x *ExecutionRequests) GetWithdrawals() []*WithdrawalRequest

func (*ExecutionRequests) HashTreeRoot added in v5.1.1

func (e *ExecutionRequests) HashTreeRoot() ([32]byte, error)

HashTreeRoot ssz hashes the ExecutionRequests object

func (*ExecutionRequests) HashTreeRootWith added in v5.1.1

func (e *ExecutionRequests) HashTreeRootWith(hh *ssz.Hasher) (err error)

HashTreeRootWith ssz hashes the ExecutionRequests object with a hasher

func (*ExecutionRequests) MarshalSSZ added in v5.1.1

func (e *ExecutionRequests) MarshalSSZ() ([]byte, error)

MarshalSSZ ssz marshals the ExecutionRequests object

func (*ExecutionRequests) MarshalSSZTo added in v5.1.1

func (e *ExecutionRequests) MarshalSSZTo(buf []byte) (dst []byte, err error)

MarshalSSZTo ssz marshals the ExecutionRequests object to a target array

func (*ExecutionRequests) ProtoMessage added in v5.1.1

func (*ExecutionRequests) ProtoMessage()

func (*ExecutionRequests) ProtoReflect added in v5.1.1

func (x *ExecutionRequests) ProtoReflect() protoreflect.Message

func (*ExecutionRequests) Reset added in v5.1.1

func (x *ExecutionRequests) Reset()

func (*ExecutionRequests) SizeSSZ added in v5.1.1

func (e *ExecutionRequests) SizeSSZ() (size int)

SizeSSZ returns the ssz encoded size in bytes for the ExecutionRequests object

func (*ExecutionRequests) String added in v5.1.1

func (x *ExecutionRequests) String() string

func (*ExecutionRequests) UnmarshalSSZ added in v5.1.1

func (e *ExecutionRequests) UnmarshalSSZ(buf []byte) error

UnmarshalSSZ ssz unmarshals the ExecutionRequests 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

type GetPayloadV2ResponseJson struct {
	ExecutionPayload *ExecutionPayloadCapellaJSON `json:"executionPayload"`
	BlockValue       string                       `json:"blockValue"`
}

type GetPayloadV3ResponseJson

type GetPayloadV3ResponseJson struct {
	ExecutionPayload      *ExecutionPayloadDenebJSON `json:"executionPayload"`
	BlockValue            string                     `json:"blockValue"`
	BlobsBundle           *BlobBundleJSON            `json:"blobsBundle"`
	ShouldOverrideBuilder bool                       `json:"shouldOverrideBuilder"`
}

type GetPayloadV4ResponseJson added in v5.1.0

type GetPayloadV4ResponseJson struct {
	ExecutionPayload      *ExecutionPayloadDenebJSON `json:"executionPayload"`
	BlockValue            string                     `json:"blockValue"`
	BlobsBundle           *BlobBundleJSON            `json:"blobsBundle"`
	ShouldOverrideBuilder bool                       `json:"shouldOverrideBuilder"`
	ExecutionRequests     []hexutil.Bytes            `json:"executionRequests"`
}

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

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

func (*PayloadAttributesV2) Descriptor() ([]byte, []int)

Deprecated: Use PayloadAttributesV2.ProtoReflect.Descriptor instead.

func (*PayloadAttributesV2) GetPrevRandao

func (x *PayloadAttributesV2) GetPrevRandao() []byte

func (*PayloadAttributesV2) GetSuggestedFeeRecipient

func (x *PayloadAttributesV2) GetSuggestedFeeRecipient() []byte

func (*PayloadAttributesV2) GetTimestamp

func (x *PayloadAttributesV2) GetTimestamp() uint64

func (*PayloadAttributesV2) GetWithdrawals

func (x *PayloadAttributesV2) GetWithdrawals() []*Withdrawal

func (*PayloadAttributesV2) MarshalJSON

func (p *PayloadAttributesV2) MarshalJSON() ([]byte, error)

MarshalJSON --

func (*PayloadAttributesV2) ProtoMessage

func (*PayloadAttributesV2) ProtoMessage()

func (*PayloadAttributesV2) ProtoReflect

func (x *PayloadAttributesV2) ProtoReflect() protoreflect.Message

func (*PayloadAttributesV2) Reset

func (x *PayloadAttributesV2) Reset()

func (*PayloadAttributesV2) String

func (x *PayloadAttributesV2) String() string

func (*PayloadAttributesV2) UnmarshalJSON

func (p *PayloadAttributesV2) UnmarshalJSON(enc []byte) error

type PayloadAttributesV3

type PayloadAttributesV3 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"`
	ParentBeaconBlockRoot []byte        `` /* 142-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*PayloadAttributesV3) Descriptor deprecated

func (*PayloadAttributesV3) Descriptor() ([]byte, []int)

Deprecated: Use PayloadAttributesV3.ProtoReflect.Descriptor instead.

func (*PayloadAttributesV3) GetParentBeaconBlockRoot

func (x *PayloadAttributesV3) GetParentBeaconBlockRoot() []byte

func (*PayloadAttributesV3) GetPrevRandao

func (x *PayloadAttributesV3) GetPrevRandao() []byte

func (*PayloadAttributesV3) GetSuggestedFeeRecipient

func (x *PayloadAttributesV3) GetSuggestedFeeRecipient() []byte

func (*PayloadAttributesV3) GetTimestamp

func (x *PayloadAttributesV3) GetTimestamp() uint64

func (*PayloadAttributesV3) GetWithdrawals

func (x *PayloadAttributesV3) GetWithdrawals() []*Withdrawal

func (*PayloadAttributesV3) MarshalJSON

func (p *PayloadAttributesV3) MarshalJSON() ([]byte, error)

func (*PayloadAttributesV3) ProtoMessage

func (*PayloadAttributesV3) ProtoMessage()

func (*PayloadAttributesV3) ProtoReflect

func (x *PayloadAttributesV3) ProtoReflect() protoreflect.Message

func (*PayloadAttributesV3) Reset

func (x *PayloadAttributesV3) Reset()

func (*PayloadAttributesV3) String

func (x *PayloadAttributesV3) String() string

func (*PayloadAttributesV3) UnmarshalJSON

func (p *PayloadAttributesV3) 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) Enum

func (PayloadStatus_Status) EnumDescriptor deprecated

func (PayloadStatus_Status) EnumDescriptor() ([]byte, []int)

Deprecated: Use PayloadStatus_Status.Descriptor instead.

func (PayloadStatus_Status) Number

func (PayloadStatus_Status) String

func (x PayloadStatus_Status) String() string

func (PayloadStatus_Status) Type

type Withdrawal

type Withdrawal struct {
	Index          uint64                                                                      `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"`
	ValidatorIndex github_com_prysmaticlabs_prysm_v5_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) Copy added in v5.1.0

func (w *Withdrawal) Copy() *Withdrawal

Copy --

func (*Withdrawal) Descriptor deprecated

func (*Withdrawal) Descriptor() ([]byte, []int)

Deprecated: Use Withdrawal.ProtoReflect.Descriptor instead.

func (*Withdrawal) GetAddress

func (x *Withdrawal) GetAddress() []byte

func (*Withdrawal) GetAmount

func (x *Withdrawal) GetAmount() uint64

func (*Withdrawal) GetIndex

func (x *Withdrawal) GetIndex() uint64

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

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

func (w *Withdrawal) UnmarshalJSON(enc []byte) error

func (*Withdrawal) UnmarshalSSZ

func (w *Withdrawal) UnmarshalSSZ(buf []byte) error

UnmarshalSSZ ssz unmarshals the Withdrawal object

type WithdrawalRequest added in v5.1.0

type WithdrawalRequest struct {
	SourceAddress   []byte `protobuf:"bytes,1,opt,name=source_address,json=sourceAddress,proto3" json:"source_address,omitempty" ssz-size:"20"`
	ValidatorPubkey []byte `protobuf:"bytes,2,opt,name=validator_pubkey,json=validatorPubkey,proto3" json:"validator_pubkey,omitempty" ssz-size:"48"`
	Amount          uint64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

func JsonWithdrawalRequestsToProto added in v5.1.0

func JsonWithdrawalRequestsToProto(j []WithdrawalRequestV1) ([]*WithdrawalRequest, error)

func (*WithdrawalRequest) Copy added in v5.1.0

Copy --

func (*WithdrawalRequest) Descriptor deprecated added in v5.1.0

func (*WithdrawalRequest) Descriptor() ([]byte, []int)

Deprecated: Use WithdrawalRequest.ProtoReflect.Descriptor instead.

func (*WithdrawalRequest) GetAmount added in v5.1.0

func (x *WithdrawalRequest) GetAmount() uint64

func (*WithdrawalRequest) GetSourceAddress added in v5.1.0

func (x *WithdrawalRequest) GetSourceAddress() []byte

func (*WithdrawalRequest) GetValidatorPubkey added in v5.1.0

func (x *WithdrawalRequest) GetValidatorPubkey() []byte

func (*WithdrawalRequest) HashTreeRoot added in v5.1.0

func (w *WithdrawalRequest) HashTreeRoot() ([32]byte, error)

HashTreeRoot ssz hashes the WithdrawalRequest object

func (*WithdrawalRequest) HashTreeRootWith added in v5.1.0

func (w *WithdrawalRequest) HashTreeRootWith(hh *ssz.Hasher) (err error)

HashTreeRootWith ssz hashes the WithdrawalRequest object with a hasher

func (*WithdrawalRequest) MarshalSSZ added in v5.1.0

func (w *WithdrawalRequest) MarshalSSZ() ([]byte, error)

MarshalSSZ ssz marshals the WithdrawalRequest object

func (*WithdrawalRequest) MarshalSSZTo added in v5.1.0

func (w *WithdrawalRequest) MarshalSSZTo(buf []byte) (dst []byte, err error)

MarshalSSZTo ssz marshals the WithdrawalRequest object to a target array

func (*WithdrawalRequest) ProtoMessage added in v5.1.0

func (*WithdrawalRequest) ProtoMessage()

func (*WithdrawalRequest) ProtoReflect added in v5.1.0

func (x *WithdrawalRequest) ProtoReflect() protoreflect.Message

func (*WithdrawalRequest) Reset added in v5.1.0

func (x *WithdrawalRequest) Reset()

func (*WithdrawalRequest) SizeSSZ added in v5.1.0

func (w *WithdrawalRequest) SizeSSZ() (size int)

SizeSSZ returns the ssz encoded size in bytes for the WithdrawalRequest object

func (*WithdrawalRequest) String added in v5.1.0

func (x *WithdrawalRequest) String() string

func (*WithdrawalRequest) UnmarshalSSZ added in v5.1.0

func (w *WithdrawalRequest) UnmarshalSSZ(buf []byte) error

UnmarshalSSZ ssz unmarshals the WithdrawalRequest object

type WithdrawalRequestV1 added in v5.1.0

type WithdrawalRequestV1 struct {
	SourceAddress   *common.Address `json:"sourceAddress"`
	ValidatorPubkey *BlsPubkey      `json:"validatorPubkey"`
	Amount          *hexutil.Uint64 `json:"amount"`
}

WithdrawalRequestV1 represents an execution engine WithdrawalRequestV1 value https://github.com/ethereum/execution-apis/blob/main/src/engine/prague.md#withdrawalrequestv1

func ProtoWithdrawalRequestsToJson added in v5.1.0

func ProtoWithdrawalRequestsToJson(reqs []*WithdrawalRequest) []WithdrawalRequestV1

func (WithdrawalRequestV1) Validate added in v5.1.0

func (r WithdrawalRequestV1) Validate() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL