lcd

package
v0.12.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 11, 2019 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterRoutes

func RegisterRoutes(cliCtx context.CLIContext, r *mux.Router, cdc *codec.Codec)

RegisterRoutes registers staking-related REST handlers to a router

Types

type BeginRedelegatesReq added in v0.7.0

type BeginRedelegatesReq struct {
	BaseReq         utils.BaseTx       `json:"base_tx"`
	BeginRedelegate msgRedelegateInput `json:"redelegate"`
}

type BeginUnbondingReq added in v0.7.0

type BeginUnbondingReq struct {
	BaseReq     utils.BaseTx   `json:"base_tx"`
	BeginUnbond msgUnbondInput `json:"unbond"`
}

type DelegationsReq added in v0.7.0

type DelegationsReq struct {
	BaseReq    utils.BaseTx     `json:"base_tx"`
	Delegation msgDelegateInput `json:"delegate"`
}

the request body for edit delegations

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL