Documentation ¶
Index ¶
- Constants
- func GetBroadcastCommand() *cobra.Command
- func GetDecodeCommand() *cobra.Command
- func GetEncodeCommand() *cobra.Command
- func GetMultiSignBatchCmd() *cobra.Command
- func GetMultiSignCommand() *cobra.Command
- func GetSignBatchCommand() *cobra.Command
- func GetSignCommand() *cobra.Command
- func GetSimulateCmd() *cobra.Command
- func GetValidateSignaturesCommand() *cobra.Command
- func ParseSigArgs(args []string) ([]string, error)
- func QueryTxCmd() *cobra.Command
- func QueryTxsByEventsCmd() *cobra.Command
Constants ¶
const ( FlagQuery = "query" FlagType = "type" FlagOrderBy = "order_by" TypeHash = "hash" TypeAccSeq = "acc_seq" TypeSig = "signature" TypeHeight = "height" EventFormat = "{eventType}.{eventAttribute}={value}" )
Variables ¶
This section is empty.
Functions ¶
func GetBroadcastCommand ¶
GetBroadcastCommand returns the tx broadcast command.
func GetDecodeCommand ¶
GetDecodeCommand returns the decode command to take serialized bytes and turn it into a JSON-encoded transaction.
func GetEncodeCommand ¶
GetEncodeCommand returns the encode command to take a JSONified transaction and turn it into Amino-serialized bytes
func GetMultiSignBatchCmd ¶ added in v0.41.4
func GetMultiSignCommand ¶
GetMultiSignCommand returns the multi-sign command
func GetSignBatchCommand ¶ added in v0.40.0
GetSignBatchCommand returns the transaction sign-batch command.
func GetSignCommand ¶
GetSignCommand returns the transaction sign command.
func GetSimulateCmd ¶ added in v0.50.1
GetSimulateCmd returns a command that simulates whether a transaction will be successful.
func ParseSigArgs ¶ added in v0.47.0
ParseSigArgs parses comma-separated signatures from the CLI arguments.
func QueryTxCmd ¶
QueryTxCmd implements the default command for a tx query.
func QueryTxsByEventsCmd ¶
QueryTxsByEventsCmd returns a command to search through transactions by events.
Types ¶
This section is empty.