rpc

package
v0.14.3 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2025 License: Apache-2.0 Imports: 12 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

func New

func New(bcReader blockchain.Reader, syncReader sync.Reader, virtualMachine vm.VM, version string,
	logger utils.Logger, network *utils.Network,
) *Handler

func (*Handler) MethodsV0_6 added in v0.11.0

func (h *Handler) MethodsV0_6() ([]jsonrpc.Method, string)

func (*Handler) MethodsV0_7 added in v0.13.0

func (h *Handler) MethodsV0_7() ([]jsonrpc.Method, string)

func (*Handler) MethodsV0_8 added in v0.13.0

func (h *Handler) MethodsV0_8() ([]jsonrpc.Method, string)

func (*Handler) Run added in v0.7.1

func (h *Handler) Run(ctx context.Context) error

func (*Handler) WithCallMaxSteps added in v0.9.3

func (h *Handler) WithCallMaxSteps(maxSteps uint64) *Handler

func (*Handler) WithFeeder added in v0.9.3

func (h *Handler) WithFeeder(feederClient *feeder.Client) *Handler

func (*Handler) WithFilterLimit added in v0.7.5

func (h *Handler) WithFilterLimit(limit uint) *Handler

WithFilterLimit sets the maximum number of blocks to scan in a single call for event filtering.

func (*Handler) WithGateway added in v0.9.3

func (h *Handler) WithGateway(gatewayClient rpccore.Gateway) *Handler

func (*Handler) WithL1Client added in v0.13.0

func (h *Handler) WithL1Client(l1Client rpccore.L1Client) *Handler

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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