Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterRoutes ¶
RegisterRoutes registers staking-related REST handlers to a router
Types ¶
type MsgBeginRedelegateInput ¶ added in v0.32.0
type MsgBeginRedelegateInput struct { BaseReq rest.BaseReq `json:"base_req"` DelegatorAddr sdk.AccAddress `json:"delegator_addr"` // in bech32 ValidatorSrcAddr sdk.ValAddress `json:"validator_src_addr"` // in bech32 ValidatorDstAddr sdk.ValAddress `json:"validator_dst_addr"` // in bech32 }
MsgBeginRedelegateInput defines the properties of a redelegate request's body.
type MsgDelegationsInput ¶ added in v0.32.0
type MsgDelegationsInput struct { BaseReq rest.BaseReq `json:"base_req"` DelegatorAddr sdk.AccAddress `json:"delegator_addr"` // in bech32 ValidatorAddr sdk.ValAddress `json:"validator_addr"` // in bech32 Delegation sdk.Coin `json:"delegation"` }
MsgBeginRedelegateInput defines the properties of a delegation request's body.
type MsgUndelegateInput ¶ added in v0.32.0
type MsgUndelegateInput struct { BaseReq rest.BaseReq `json:"base_req"` DelegatorAddr sdk.AccAddress `json:"delegator_addr"` // in bech32 ValidatorAddr sdk.ValAddress `json:"validator_addr"` // in bech32 }
MsgUndelegateInput defines the properties of a undelegate request's body.
Click to show internal directories.
Click to hide internal directories.