methods

package
v0.0.0-...-fbce341 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2022 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EthBlockNumber                         = "eth_blockNumber"
	EthGetBalance                          = "eth_getBalance"
	EthGetStorageAt                        = "eth_getStorageAt"
	EthGetBlockByNumber                    = "eth_getBlockByNumber"
	EthGetBlockByHash                      = "eth_getBlockByHash"
	EthGetTransactionCount                 = "eth_getTransactionCount"
	EthGetBlockTransactionCountByHash      = "eth_getBlockTransactionCountByHash"
	EthGetBlockTransactionCountByNumber    = "eth_getBlockTransactionCountByNumber"
	EthGetUncleCountByBlockHash            = "eth_getUncleCountByBlockHash"
	EthGetUncleCountByNumber               = "eth_getUncleCountByBlockNumber"
	EthGetCode                             = "eth_getCode"
	EthGetTransactionByHash                = "eth_getTransactionByHash"
	EthGetTransactionByBlockHashAndIndex   = "eth_getTransactionByBlockHashAndIndex"
	EthGetTransactionByBlockNumberAndIndex = "eth_getTransactionByBlockNumberAndIndex"
	EthGetTransactionReceipt               = "eth_getTransactionReceipt"
	EthGetUncleByBlockHashAndIndex         = "eth_getUncleByBlockHashAndIndex"
	EthGetUncleByBlockNumberAndIndex       = "eth_getUncleByBlockNumberAndIndex"
)
View Source
const (
	NetVersion   = "net_version"
	NetListening = "net_listening"
	NetPeerCount = "net_peerCount"
)
View Source
const (
	// todo make this configurable/dynamic
	ClientVersion = "Tethys/0.1.0/linux/go1.19"

	Web3Sha3          = "web3_sha3"
	Web3ClientVersion = "web3_clientVersion"
)

Variables

This section is empty.

Functions

func Build

func Build(
	chain *tracking.CanonicalChain,
	latestBlockRouter natsutil.Router,
) (map[string]proxy.Method, error)

Types

type BlockParameter

type BlockParameter = string
const (
	LatestBlockParameter   BlockParameter = "latest"
	EarliestBlockParameter BlockParameter = "earliest"
	PendingBlockParameter  BlockParameter = "pending"
)

Jump to

Keyboard shortcuts

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