v2

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SubmitBlockRequest

type SubmitBlockRequest struct {
	Message                *apiv1.BidTrace
	ExecutionPayloadHeader *capella.ExecutionPayloadHeader
	Signature              phase0.BLSSignature `ssz-size:"96"`
	Transactions           []bellatrix.Transaction
	Withdrawals            []*capella.Withdrawal
}

SubmitBlockRequest is the v2 request from the builder to submit a block.

func (*SubmitBlockRequest) MarshalJSON

func (s *SubmitBlockRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler.

func (*SubmitBlockRequest) String

func (s *SubmitBlockRequest) String() string

String returns a string version of the structure.

func (*SubmitBlockRequest) UnmarshalJSON

func (s *SubmitBlockRequest) UnmarshalJSON(input []byte) error

UnmarshalJSON implements json.Unmarshaler.

Jump to

Keyboard shortcuts

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