grpc

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LatestBlockHeight added in v1.2.0

func LatestBlockHeight(ctx context.Context, cfg config.Config) (int64, error)

func SigningValidators added in v1.2.0

func SigningValidators(ctx context.Context, cfg config.Config) ([]types.Validator, error)

Types

type Client

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

func NewClient

func NewClient(cfg config.Config) (Client, error)

func (Client) Accounts

func (c Client) Accounts(ctx context.Context) (uint64, error)

Accounts.

func (Client) Actions

func (c Client) Actions(ctx context.Context) (uint64, error)

Actions.

func (Client) Balance added in v1.4.0

func (c Client) Balance(ctx context.Context, address, denom string) (uint64, error)

func (Client) Intents

func (c Client) Intents(ctx context.Context) (uint64, error)

Intents.

func (Client) KeyChain added in v1.3.0

func (c Client) KeyChain(ctx context.Context, id uint64) (warden.Keychain, error)

func (Client) KeychainRequests added in v1.3.0

func (c Client) KeychainRequests(ctx context.Context, id uint64) (uint64, error)

func (Client) KeychainSignatureRequests added in v1.3.0

func (c Client) KeychainSignatureRequests(ctx context.Context, id uint64) (uint64, error)

func (Client) Keychains

func (c Client) Keychains(ctx context.Context) (uint64, error)

Keychains metric.

func (Client) Keys

func (c Client) Keys(ctx context.Context) (uint64, uint64, uint64, error)

keys metric.

func (Client) SignigInfos added in v1.2.0

func (c Client) SignigInfos(ctx context.Context) ([]slashing.ValidatorSigningInfo, error)

func (Client) Spaces

func (c Client) Spaces(ctx context.Context) (uint64, error)

spaces metric.

func (Client) Validators added in v1.2.0

func (c Client) Validators(ctx context.Context) ([]staking.Validator, error)

Jump to

Keyboard shortcuts

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