rest

package
v0.26.1-rc0 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2018 License: Apache-2.0 Imports: 18 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, kb keys.Keybase)

RegisterRoutes registers staking-related REST handlers to a router

Types

type EditDelegationsReq added in v0.25.0

type EditDelegationsReq struct {
	BaseReq          utils.BaseReq             `json:"base_req"`
	Delegations      []msgDelegationsInput     `json:"delegations"`
	BeginUnbondings  []msgBeginUnbondingInput  `json:"begin_unbondings"`
	BeginRedelegates []msgBeginRedelegateInput `json:"begin_redelegates"`
}

the request body for edit delegations

Jump to

Keyboard shortcuts

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