rest

package
v1.6.48 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2022 License: Apache-2.0 Imports: 36 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Web3Namespace     = "web3"
	EthNamespace      = "eth"
	PersonalNamespace = "personal"
	NetNamespace      = "net"
)

RPC namespaces and API version

View Source
const CAN_MIGRATE string = `{"method":"canMigrate()"}`
View Source
const DefaultRPCGasLimit = 10000000

Variables

This section is empty.

Functions

func GetAPIs

func GetAPIs(clientCtx clientcontext.Context) []rpc.API

GetAPIs returns the list of all APIs from the Ethereum namespaces

func Handler

func Handler(s *rpc.Server) http.HandlerFunc

func RegisterRoutes

func RegisterRoutes(cliCtx context.Context, r *mux.Router)

Types

This section is empty.

Directories

Path Synopsis
api
eth
net

Jump to

Keyboard shortcuts

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