Documentation ¶
Index ¶
- func AddCommands(cmd *cobra.Command, cdc *codec.Codec)
- func BroadcastTxRequest(cliCtx context.CLIContext, cdc *codec.Codec) http.HandlerFunc
- func QueryTxCmd(cdc *codec.Codec) *cobra.Command
- func QueryTxRequestHandlerFn(cdc *codec.Codec, cliCtx context.CLIContext) http.HandlerFunc
- func RegisterRoutes(cliCtx context.CLIContext, r *mux.Router, cdc *codec.Codec)
- func SearchTxCmd(cdc *codec.Codec) *cobra.Command
- func SearchTxRequestHandlerFn(cliCtx context.CLIContext, cdc *codec.Codec) http.HandlerFunc
- func ValidateTxResult(cliCtx context.CLIContext, res *ctypes.ResultTx) error
- type BroadcastBody
- type Info
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddCommands ¶
AddCommands adds a number of tx-query related subcommands
func BroadcastTxRequest ¶
func BroadcastTxRequest(cliCtx context.CLIContext, cdc *codec.Codec) http.HandlerFunc
BroadcastTxRequest REST Handler nolint: gocyclo
func QueryTxCmd ¶
QueryTxCmd implements the default command for a tx query.
func QueryTxRequestHandlerFn ¶ added in v0.16.0
func QueryTxRequestHandlerFn(cdc *codec.Codec, cliCtx context.CLIContext) http.HandlerFunc
transaction query REST handler
func RegisterRoutes ¶
register REST routes
func SearchTxCmd ¶
default client command to search through tagged transactions
func SearchTxRequestHandlerFn ¶ added in v0.16.0
func SearchTxRequestHandlerFn(cliCtx context.CLIContext, cdc *codec.Codec) http.HandlerFunc
Search Tx REST Handler
func ValidateTxResult ¶
func ValidateTxResult(cliCtx context.CLIContext, res *ctypes.ResultTx) error
ValidateTxResult performs transaction verification
Types ¶
type BroadcastBody ¶
BroadcastBody Tx Broadcast Body
Click to show internal directories.
Click to hide internal directories.