Documentation ¶
Index ¶
Constants ¶
View Source
const (
RestDenom = "denom"
)
REST variable names nolint
Variables ¶
This section is empty.
Functions ¶
func RegisterRoutes ¶
func RegisterRoutes(cliCtx context.CLIContext, r *mux.Router)
RegisterRoutes registers incentive-related REST handlers to a router
Types ¶
type PostClaimReq ¶ added in v0.14.1
type PostClaimReq struct { BaseReq rest.BaseReq `json:"base_req" yaml:"base_req"` Sender sdk.AccAddress `json:"sender" yaml:"sender"` DenomsToClaim types.Selections `json:"denoms_to_claim" yaml:"denoms_to_claim"` }
PostClaimReq defines the properties of claim transaction's request body.
type PostClaimVVestingReq ¶ added in v0.14.2
type PostClaimVVestingReq struct { BaseReq rest.BaseReq `json:"base_req" yaml:"base_req"` Sender sdk.AccAddress `json:"sender" yaml:"sender"` Receiver sdk.AccAddress `json:"receiver" yaml:"receiver"` DenomsToClaim types.Selections `json:"denoms_to_claim" yaml:"denoms_to_claim"` }
PostClaimReq defines the properties of claim transaction's request body.
Click to show internal directories.
Click to hide internal directories.