infoclient

package
v0.31.3 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2021 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Account

func Account(client rpc.Client, address crypto.Address) (*acm.Account, error)

func Block

func Block(client rpc.Client, height int) (*rpc.ResultBlock, error)

func Blocks

func Blocks(client rpc.Client, minHeight, maxHeight int) (*rpc.ResultBlocks, error)

func ChainId

func ChainId(client rpc.Client) (*rpc.ResultChainId, error)

func Consensus

func Consensus(client rpc.Client) (*rpc.ResultConsensusState, error)

func DumpStorage

func DumpStorage(client rpc.Client, address crypto.Address) (*rpc.ResultDumpStorage, error)

func Name

func Name(client rpc.Client, name string) (*names.Entry, error)

func Names added in v0.28.0

func Names(client rpc.Client, regex string) ([]*names.Entry, error)

func ParamsToMap added in v0.31.0

func ParamsToMap(orderedKeyVals ...interface{}) (map[string]interface{}, error)

func Status

func Status(client rpc.Client) (*rpc.ResultStatus, error)

func Storage

func Storage(client rpc.Client, address crypto.Address, key []byte) ([]byte, error)

func UnconfirmedTxs

func UnconfirmedTxs(client rpc.Client, maxTxs int) (*rpc.ResultUnconfirmedTxs, error)

func Validators

func Validators(client rpc.Client) (*rpc.ResultValidators, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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