Documentation
¶
Index ¶
- Variables
- func BroadcastTx(txBytes []byte, mode txv1beta1.BroadcastMode) (*txv1beta1.BroadcastTxResponse, error)
- func CreateGrpcConn() (*grpc.ClientConn, error)
- func QueryAccount(address string) (*authv1beta1.BaseAccount, error)
- func QueryMetaNode(p2pAddress string) (*registerv1.MetaNode, error)
- func QueryNozSupply() (*sdsv1.QueryNozSupplyResponse, error)
- func QueryResourceNode(p2pAddress string) (*registerv1.ResourceNode, error)
- func QueryResourceNodeState(p2pAddress string) (state types.ResourceNodeState, err error)
- func QueryTxByHash(txHash string) (*abciv1beta1.TxResponse, error)
- func QueryVolumeReport(epoch int64) (*potv1.QueryVolumeReportResponse, error)
- func Simulate(txBytes []byte) (*abciv1beta1.GasInfo, error)
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 QueryResourceNode ¶
func QueryResourceNode(p2pAddress string) (*registerv1.ResourceNode, error)
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)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.