v1beta1

package
v0.0.72 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrClientNotFound = errors.New("client not found")
)

Functions

This section is empty.

Types

type Client

type Client interface {
	Query() Query
	Tx() Tx
	Node() Node
}

type Node

type Node interface {
	SyncInfo(ctx context.Context) (*tmrpc.SyncInfo, error)
}

type Query

func NewQueryClient

func NewQueryClient(
	dclient dtypes.QueryClient,
	mclient mtypes.QueryClient,
	pclient ptypes.QueryClient,
	aclient atypes.QueryClient,
	cclient ctypes.QueryClient,
) Query

NewQueryClient creates new query client instance

type Tx

type Tx interface {
	Broadcast(context.Context, ...sdk.Msg) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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