cli

package
v0.48.86 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2023 License: Apache-2.0 Imports: 29 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAccountAddressByIDCmd added in v0.48.84

func GetAccountAddressByIDCmd() *cobra.Command

GetAccountAddressByIDCmd returns a query account that will display the account address of a given account id.

func GetAccountCmd

func GetAccountCmd() *cobra.Command

GetAccountCmd returns a query account that will display the state of the account at a given address.

func GetAccountsCmd added in v0.48.84

func GetAccountsCmd() *cobra.Command

GetAccountsCmd returns a query command that will display a list of accounts

func GetAuxToFeeCommand added in v0.48.84

func GetAuxToFeeCommand() *cobra.Command

func GetBroadcastCommand added in v0.31.0

func GetBroadcastCommand() *cobra.Command

GetBroadcastCommand returns the tx broadcast command.

func GetDecodeCommand added in v0.48.84

func GetDecodeCommand() *cobra.Command

GetDecodeCommand returns the decode command to take serialized bytes and turn it into a JSON-encoded transaction.

func GetEncodeCommand added in v0.31.0

func GetEncodeCommand() *cobra.Command

GetEncodeCommand returns the encode command to take a JSONified transaction and turn it into Amino-serialized bytes

func GetMultiSignBatchCmd added in v0.48.84

func GetMultiSignBatchCmd() *cobra.Command

func GetMultiSignCommand added in v0.30.0

func GetMultiSignCommand() *cobra.Command

GetMultiSignCommand returns the multi-sign command

func GetQueryCmd added in v0.48.84

func GetQueryCmd() *cobra.Command

GetQueryCmd returns the transaction commands for this module

func GetSignBatchCommand added in v0.48.84

func GetSignBatchCommand() *cobra.Command

GetSignBatchCommand returns the transaction sign-batch command.

func GetSignCommand added in v0.25.0

func GetSignCommand() *cobra.Command

GetSignCommand returns the transaction sign command.

func GetValidateSignaturesCommand added in v0.48.84

func GetValidateSignaturesCommand() *cobra.Command

func ParseSigArgs added in v0.48.84

func ParseSigArgs(args []string) ([]string, error)

ParseSigArgs parses comma-separated signatures from the CLI arguments.

func QueryModuleAccountByNameCmd added in v0.48.84

func QueryModuleAccountByNameCmd() *cobra.Command

QueryModuleAccountByNameCmd returns a command to

func QueryModuleAccountsCmd added in v0.48.84

func QueryModuleAccountsCmd() *cobra.Command

QueryAllModuleAccountsCmd returns a list of all the existing module accounts with their account information and permissions

func QueryParamsCmd added in v0.48.84

func QueryParamsCmd() *cobra.Command

QueryParamsCmd returns the command handler for evidence parameter querying.

func QueryTxCmd added in v0.48.84

func QueryTxCmd() *cobra.Command

QueryTxCmd implements the default command for a tx query.

func QueryTxsByEventsCmd added in v0.48.84

func QueryTxsByEventsCmd() *cobra.Command

QueryTxsByEventsCmd returns a command to search through transactions by events.

Types

type BroadcastReq added in v0.48.84

type BroadcastReq struct {
	Tx   legacytx.StdTx `json:"tx" yaml:"tx"`
	Mode string         `json:"mode" yaml:"mode"`
}

BroadcastReq defines a tx broadcasting request.

Jump to

Keyboard shortcuts

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