Documentation ¶
Index ¶
- func EscrowRequestHandlerFn(cliCtx context.CLIContext) http.HandlerFunc
- func QueryBalancesRequestHandlerFn(cliCtx context.CLIContext) http.HandlerFunc
- func ReclaimRequestHandlerFn(cliCtx context.CLIContext) http.HandlerFunc
- func RegisterRoutes(cliCtx context.CLIContext, r *mux.Router)
- func SendRequestHandlerFn(cliCtx context.CLIContext) http.HandlerFunc
- type EscrowReq
- type ReclaimReq
- type SendReq
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EscrowRequestHandlerFn ¶
func EscrowRequestHandlerFn(cliCtx context.CLIContext) http.HandlerFunc
EscrowRequestHandlerFn - http request handler to send coins to a address.
func QueryBalancesRequestHandlerFn ¶
func QueryBalancesRequestHandlerFn(cliCtx context.CLIContext) http.HandlerFunc
query accountREST Handler
func ReclaimRequestHandlerFn ¶
func ReclaimRequestHandlerFn(cliCtx context.CLIContext) http.HandlerFunc
ReclaimRequestHandlerFn - http request handler to send coins to a address.
func RegisterRoutes ¶
func RegisterRoutes(cliCtx context.CLIContext, r *mux.Router)
RegisterRoutes - Central function to define routes that get registered by the main application
func SendRequestHandlerFn ¶
func SendRequestHandlerFn(cliCtx context.CLIContext) http.HandlerFunc
SendRequestHandlerFn - http request handler to send coins to a address.
Types ¶
type EscrowReq ¶
type EscrowReq struct { BaseReq rest.BaseReq `json:"base_req" yaml:"base_req"` Amount sdk.Coins `json:"amount" yaml:"amount"` }
EscrowReq defines the properties of a send request's body.
Click to show internal directories.
Click to hide internal directories.