Documentation ¶
Index ¶
Constants ¶
View Source
const ( RestChannelID = "channel-id" RestPortID = "port-id" )
Variables ¶
This section is empty.
Functions ¶
func RegisterRoutes ¶
func RegisterRoutes(cliCtx context.CLIContext, r *mux.Router)
RegisterRoutes - Central function to define routes that get registered by the main application
Types ¶
type TransferTxReq ¶
type TransferTxReq struct { BaseReq rest.BaseReq `json:"base_req" yaml:"base_req"` DestHeight uint64 `json:"dest_height" yaml:"dest_height"` Amount sdk.Coins `json:"amount" yaml:"amount"` Receiver string `json:"receiver" yaml:"receiver"` }
TransferTxReq defines the properties of a transfer tx request's body.
Click to show internal directories.
Click to hide internal directories.