Documentation ¶
Index ¶
- func NewSendRequestHandlerFn(ctx context.CLIContext, m codec.Marshaler, txg tx.Generator) http.HandlerFunc
- func QueryBalancesRequestHandlerFn(ctx context.CLIContext) http.HandlerFunc
- func RegisterHandlers(ctx context.CLIContext, m codec.Marshaler, txg tx.Generator, r *mux.Router)
- func RegisterRoutes(cliCtx context.CLIContext, r *mux.Router)
- func SendRequestHandlerFn(cliCtx context.CLIContext) http.HandlerFunc
- type SendReq
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSendRequestHandlerFn ¶ added in v1.0.0
func NewSendRequestHandlerFn(ctx context.CLIContext, m codec.Marshaler, txg tx.Generator) http.HandlerFunc
NewSendRequestHandlerFn returns an HTTP REST handler for creating a MsgSend transaction.
func QueryBalancesRequestHandlerFn ¶ added in v1.0.0
func QueryBalancesRequestHandlerFn(ctx context.CLIContext) http.HandlerFunc
QueryBalancesRequestHandlerFn returns a REST handler that queries for all account balances or a specific balance by denomination.
func RegisterHandlers ¶ added in v1.0.0
RegisterHandlers registers all x/bank transaction and query HTTP REST handlers on the provided mux router.
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.
TODO: Remove once client-side Protobuf migration has been completed. ref: https://github.com/KiraCore/cosmos-sdk/issues/5864
Types ¶
Click to show internal directories.
Click to hide internal directories.