Documentation
¶
Index ¶
- func QuerySectionFn(cliCtx context.CLIContext) http.HandlerFunc
- func QueryTx(cliCtx context.CLIContext, hashHexStr string) (interface{}, error)
- func QueryTxRequestHandlerFn(cliCtx context.CLIContext) http.HandlerFunc
- func RegisterRoutes(cliCtx context.CLIContext, r *mux.Router)
- func ValidateTxResult(cliCtx context.CLIContext, resTx *ctypes.ResultTx) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func QuerySectionFn ¶ added in v0.16.9
func QuerySectionFn(cliCtx context.CLIContext) http.HandlerFunc
func QueryTx ¶
func QueryTx(cliCtx context.CLIContext, hashHexStr string) (interface{}, error)
QueryTx queries for a single transaction by a hash string in hex format. An error is returned if the transaction does not exist or cannot be queried.
func QueryTxRequestHandlerFn ¶
func QueryTxRequestHandlerFn(cliCtx context.CLIContext) http.HandlerFunc
func RegisterRoutes ¶
func RegisterRoutes(cliCtx context.CLIContext, r *mux.Router)
RegisterRoutes - Central function to define routes that get registered by the main application
func ValidateTxResult ¶
func ValidateTxResult(cliCtx context.CLIContext, resTx *ctypes.ResultTx) error
ValidateTxResult performs transaction verification.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.