Documentation ¶
Index ¶
- func AddCommands(cmd *cobra.Command, cdc *wire.Codec)
- func BroadcastTxRequestHandler(w http.ResponseWriter, r *http.Request)
- func QueryTxCmd(cmdr commander) *cobra.Command
- func QueryTxRequestHandler(cdc *wire.Codec) func(http.ResponseWriter, *http.Request)
- func RegisterRoutes(r *mux.Router, cdc *wire.Codec)
- func SearchTxCmd(cmdr commander) *cobra.Command
- func SearchTxRequestHandler(cdc *wire.Codec) func(http.ResponseWriter, *http.Request)
- func SignTxRequstHandler(w http.ResponseWriter, r *http.Request)
- type BroadcastTxBody
- type SignTxBody
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddCommands ¶
AddCommands adds a number of tx-query related subcommands
func BroadcastTxRequestHandler ¶ added in v0.12.0
func BroadcastTxRequestHandler(w http.ResponseWriter, r *http.Request)
func QueryTxCmd ¶
Get the default command for a tx query
func QueryTxRequestHandler ¶ added in v0.12.0
func SearchTxCmd ¶
default client command to search through tagged transactions
func SearchTxRequestHandler ¶ added in v0.12.0
func SignTxRequstHandler ¶ added in v0.12.0
func SignTxRequstHandler(w http.ResponseWriter, r *http.Request)
Types ¶
type BroadcastTxBody ¶ added in v0.12.0
type BroadcastTxBody struct {
TxBytes string `json="tx"`
}
type SignTxBody ¶ added in v0.12.0
Click to show internal directories.
Click to hide internal directories.