grpc

package
v0.0.0-...-7657fe4 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 18 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	SERVER   string
	INSECURE bool
)

Functions

func BroadcastTx

func BroadcastTx(txBytes []byte, mode txv1beta1.BroadcastMode) (*txv1beta1.BroadcastTxResponse, error)

func CreateGrpcConn

func CreateGrpcConn() (*grpc.ClientConn, error)

func QueryAccount

func QueryAccount(address string) (*authv1beta1.BaseAccount, error)

func QueryMetaNode

func QueryMetaNode(p2pAddress string) (*registerv1.MetaNode, error)

func QueryNozSupply

func QueryNozSupply() (*sdsv1.QueryNozSupplyResponse, error)

QueryNozSupply queries the remaining ozone limit and the total ozone supply from stchain

func QueryResourceNodeState

func QueryResourceNodeState(p2pAddress string) (state types.ResourceNodeState, err error)

func QueryTxByHash

func QueryTxByHash(txHash string) (*abciv1beta1.TxResponse, error)

func QueryVolumeReport

func QueryVolumeReport(epoch int64) (*potv1.QueryVolumeReportResponse, error)

func Simulate

func Simulate(txBytes []byte) (*abciv1beta1.GasInfo, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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