infoclient

package
Version: v0.0.0-...-2935fa7 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

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

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

func ParamsToMap

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.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL