jsonrpc

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2024 License: GPL-3.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Web3Namespace   = "web3"
	EthNamespace    = "eth"
	NetNamespace    = "net"
	AxmNamespace    = "axm"
	TxPoolNamespace = "txpool"
	DebugNamespace  = "debug"
)

RPC namespaces and API version

Variables

This section is empty.

Functions

func GetAPIs

func GetAPIs(rep *repo.Repo, api api.CoreAPI, logger logrus.FieldLogger) ([]rpc.API, error)

GetAPIs returns the list of all APIs from the Ethereum namespaces

Types

type ChainBrokerService

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

func NewChainBrokerService

func NewChainBrokerService(coreAPI api.CoreAPI, rep *repo.Repo) (*ChainBrokerService, error)

func (*ChainBrokerService) Start

func (cbs *ChainBrokerService) Start() error

func (*ChainBrokerService) Stop

func (cbs *ChainBrokerService) Stop() error

Directories

Path Synopsis
namespaces
axm
eth
eth/filters
Package filters implements an ethereum filtering system for block, transactions and log events.
Package filters implements an ethereum filtering system for block, transactions and log events.
eth/tracers
Package tracers is a manager for transaction tracing engines.
Package tracers is a manager for transaction tracing engines.
net

Jump to

Keyboard shortcuts

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