lcd

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2018 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         context.BaseTx     `json:"base_tx"`
	BeginRedelegate msgRedelegateInput `json:"redelegate"`
}

type BeginUnbondingReq added in v0.7.0

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

type DelegationsReq added in v0.7.0

type DelegationsReq struct {
	BaseReq    context.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