Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BroadcastTxRequestHandlerFn ¶
func BroadcastTxRequestHandlerFn(cdc *codec.Codec, cliCtx context.CLIContext) http.HandlerFunc
BroadcastTxRequestHandlerFn returns the broadcast tx REST handler
func RegisterRoutes ¶
RegisterRoutes - Central function to define routes that get registered by the main application
func SignTxRequestHandlerFn ¶
func SignTxRequestHandlerFn(cdc *codec.Codec, cliCtx context.CLIContext) http.HandlerFunc
nolint: unparam SignTxRequestHandlerFn sign tx REST handler
Types ¶
type SignBody ¶
type SignBody struct { Tx auth.StdTx `json:"tx"` Name string `json:"name"` Password string `json:"password"` ChainID string `json:"chain_id"` AccountNumber uint64 `json:"account_number"` Sequence uint64 `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.