web3

package
v1.5.33 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const AppName = "wlk"

AppName represents the application name as the 'user agent' on the larger Ethereum network.

View Source
const ProtocolVersion = 63

ProtocolVersion is the supported Ethereum protocol version (e.g., Homestead, Olympic, etc.)

View Source
const Version = "0.0.0"

Version contains the application semantic version.

TODO: How do we want to version this being that an initial Ethermint has been developed?

Variables

View Source
var GitCommit = ""

GitCommit contains the git SHA1 short hash set by build flags.

Functions

func ClientVersion

func ClientVersion() string

ClientVersion returns the full version string for identification on the larger Ethereum network.

Types

type PublicWeb3API

type PublicWeb3API struct{}

PublicWeb3API is the web3_ prefixed set of APIs in the Web3 JSON-RPC spec.

func NewAPI

func NewAPI() *PublicWeb3API

New creates an instance of the Web3 API.

func (PublicWeb3API) ClientVersion

func (PublicWeb3API) ClientVersion() string

ClientVersion returns the clients version in the Web3 user agent format.

Jump to

Keyboard shortcuts

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