rpc

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2021 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BlockNumberFreeze   = "blockNumberFreeze"
	BlockNumberUnfreeze = "blockNumberUnfreeze"
	BlockNumberRecord   = "blockNumberRecord"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Caller

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

func New

func New(call *callback.Callback) *Caller

func (*Caller) Execute

func (c *Caller) Execute(method string, params ...interface{}) (int, error)

func (*Caller) GetState

func (c *Caller) GetState() State

type State

type State struct {
	BlockNumber uint64
}

Jump to

Keyboard shortcuts

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