rpc

package
v0.0.0-...-7027883 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2022 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ListenAndServe

func ListenAndServe(node *core.Node) error

Types

type EthereumAPI

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

func NewEthereumAPI

func NewEthereumAPI(node *core.Node) *EthereumAPI

func (*EthereumAPI) GetHeaderByHash

func (api *EthereumAPI) GetHeaderByHash(ctx context.Context, hash common.Hash) (*types.Header, error)

Jump to

Keyboard shortcuts

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