Documentation ¶
Overview ¶
Code generated by fastssz. DO NOT EDIT. Hash: ece58a9da7e72aa3b10ef588b59d7f30ea17ecd92cab75bc005e31c5ef7144ca Version: 0.1.3
Index ¶
- type SubmitBlockRequest
- func (s *SubmitBlockRequest) GetTree() (*ssz.Node, error)
- func (s *SubmitBlockRequest) HashTreeRoot() ([32]byte, error)
- func (s *SubmitBlockRequest) HashTreeRootWith(hh ssz.HashWalker) (err error)
- func (s *SubmitBlockRequest) MarshalJSON() ([]byte, error)
- func (s *SubmitBlockRequest) MarshalSSZ() ([]byte, error)
- func (s *SubmitBlockRequest) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (s *SubmitBlockRequest) SizeSSZ() (size int)
- func (s *SubmitBlockRequest) String() string
- func (s *SubmitBlockRequest) UnmarshalJSON(input []byte) error
- func (s *SubmitBlockRequest) UnmarshalSSZ(buf []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SubmitBlockRequest ¶
type SubmitBlockRequest struct { Message *v1.BidTrace ExecutionPayloadHeader *capella.ExecutionPayloadHeader Signature phase0.BLSSignature `ssz-size:"96"` Transactions []bellatrix.Transaction `ssz-max:"1048576,1073741824" ssz-size:"?,?"` Withdrawals []*capella.Withdrawal `ssz-max:"16"` }
SubmitBlockRequest is the v2 request from the builder to submit a block.
func (*SubmitBlockRequest) GetTree ¶
func (s *SubmitBlockRequest) GetTree() (*ssz.Node, error)
GetTree ssz hashes the SubmitBlockRequest object
func (*SubmitBlockRequest) HashTreeRoot ¶
func (s *SubmitBlockRequest) HashTreeRoot() ([32]byte, error)
HashTreeRoot ssz hashes the SubmitBlockRequest object
func (*SubmitBlockRequest) HashTreeRootWith ¶
func (s *SubmitBlockRequest) HashTreeRootWith(hh ssz.HashWalker) (err error)
HashTreeRootWith ssz hashes the SubmitBlockRequest object with a hasher
func (*SubmitBlockRequest) MarshalJSON ¶
func (s *SubmitBlockRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler.
func (*SubmitBlockRequest) MarshalSSZ ¶
func (s *SubmitBlockRequest) MarshalSSZ() ([]byte, error)
MarshalSSZ ssz marshals the SubmitBlockRequest object
func (*SubmitBlockRequest) MarshalSSZTo ¶
func (s *SubmitBlockRequest) MarshalSSZTo(buf []byte) (dst []byte, err error)
MarshalSSZTo ssz marshals the SubmitBlockRequest object to a target array
func (*SubmitBlockRequest) SizeSSZ ¶
func (s *SubmitBlockRequest) SizeSSZ() (size int)
SizeSSZ returns the ssz encoded size in bytes for the SubmitBlockRequest object
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.
func (*SubmitBlockRequest) UnmarshalSSZ ¶
func (s *SubmitBlockRequest) UnmarshalSSZ(buf []byte) error
UnmarshalSSZ ssz unmarshals the SubmitBlockRequest object