Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterRoutes ¶
Types ¶
type DelegationSummary ¶
type DelegationSummary struct {
Delegations []stakeClient.DelegationOutput `json:"delegations"`
UnbondingDelegations []stakeClient.UnbondingDelegationOutput `json:"unbonding_delegations"`
Redelegations []stakeClient.RedelegationOutput `json:"redelegations"`
}
aggregation of all delegations, unbondings and redelegations
type EditDelegationsBody ¶
type EditDelegationsBody struct {
BaseTx context.BaseTx `json:"base_tx"`
Delegations []msgDelegationsInput `json:"delegations"`
BeginUnbondings []msgBeginUnbondingInput `json:"begin_unbondings"`
CompleteUnbondings []msgCompleteUnbondingInput `json:"complete_unbondings"`
BeginRedelegates []msgBeginRedelegateInput `json:"begin_redelegates"`
CompleteRedelegates []msgCompleteRedelegateInput `json:"complete_redelegates"`
}
the request body for edit delegations
type ExRateResponse ¶
type ExRateResponse struct {
ExRate float64 `json:"token_shares_rate"`
}
Click to show internal directories.
Click to hide internal directories.