types

package
v0.6.2-rc4 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2023 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BuilderBlockValidationRequest

type BuilderBlockValidationRequest struct {
	*bellatrix.SubmitBlockRequest
	RegisteredGasLimit uint64 `json:"registered_gas_limit,string"`
}

type BuilderBlockValidationRequestV2

type BuilderBlockValidationRequestV2 struct {
	*capella.SubmitBlockRequest
	WithdrawalsRoot    common.Hash `json:"withdrawals_root"`
	RegisteredGasLimit uint64      `json:"registered_gas_limit,string"`
}

type Payload

type Payload struct {
	Method   string
	Payload  []byte
	Attached []byte
}

type ResponseAttached

type ResponseAttached struct {
	Method   string
	Response RpcRawResponse
	Attached []byte
}

type RpcError

type RpcError struct {
	Code    int64  `json:"code"`
	Message string `json:"message"`
}

type RpcRawResponse

type RpcRawResponse struct {
	VersionTag string          `json:"jsonrpc"`
	Result     json.RawMessage `json:"result"`
	Error      *RpcError       `json:"error"`
	ID         uint64          `json:"id"`
}

type RpcRequest

type RpcRequest struct {
	VersionTag string        `json:"jsonrpc"`
	ID         uint64        `json:"id"`
	Method     string        `json:"method"`
	Params     []interface{} `json:"params"`
}

Jump to

Keyboard shortcuts

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