Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LatestBlockRequestHandlerFn ¶
func LatestBlockRequestHandlerFn(cliCtx context.CLIContext) http.HandlerFunc
REST handler to get the latest block
func QueryAccountRequestHandlerFn ¶
func QueryAccountRequestHandlerFn(cliCtx context.CLIContext) http.HandlerFunc
QueryAccountRequestHandlerFn handle auth/accounts queries This function is identical to v0.8 except the queried account is cast to the v0.3 account type so it marshals in the old format.
func QueryTxRequestHandlerFn ¶
func QueryTxRequestHandlerFn(cliCtx context.CLIContext) http.HandlerFunc
QueryTxRequestHandlerFn implements a REST handler that queries a transaction by hash in a committed block.
func RegisterRoutes ¶
func RegisterRoutes(cliCtx context.CLIContext, r *mux.Router)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.