Documentation ¶
Index ¶
- func QueryAccountRequestHandlerFn(storeName string, cdc *codec.Codec, decoder auth.AccountDecoder, ...) http.HandlerFunc
- func QueryBalancesRequestHandlerFn(storeName string, cdc *codec.Codec, decoder auth.AccountDecoder, ...) http.HandlerFunc
- func RegisterRoutes(cliCtx context.CLIContext, r *mux.Router, cdc *codec.Codec, storeName string)
- func SignTxRequestHandlerFn(cdc *codec.Codec, cliCtx context.CLIContext) http.HandlerFunc
- type SignBody
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func QueryAccountRequestHandlerFn ¶
func QueryAccountRequestHandlerFn( storeName string, cdc *codec.Codec, decoder auth.AccountDecoder, cliCtx context.CLIContext, ) http.HandlerFunc
query accountREST Handler
func QueryBalancesRequestHandlerFn ¶
func QueryBalancesRequestHandlerFn( storeName string, cdc *codec.Codec, decoder auth.AccountDecoder, cliCtx context.CLIContext, ) http.HandlerFunc
query accountREST Handler
func RegisterRoutes ¶
register REST routes
func SignTxRequestHandlerFn ¶
func SignTxRequestHandlerFn(cdc *codec.Codec, cliCtx context.CLIContext) http.HandlerFunc
nolint: unparam sign tx REST handler
Types ¶
type SignBody ¶
type SignBody struct { Tx auth.StdTx `json:"tx"` LocalAccountName string `json:"name"` Password string `json:"password"` ChainID string `json:"chain_id"` AccountNumber int64 `json:"account_number"` Sequence int64 `json:"sequence"` AppendSig bool `json:"append_sig"` }
SignBody defines the properties of a sign request's body.
Click to show internal directories.
Click to hide internal directories.