rest

package
v0.0.0-...-d0e4e46 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2019 License: GPL-3.0 Imports: 11 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 SubscribeRequest

type SubscribeRequest struct {
	BaseReq    rest.BaseReq   `json:"base_req"`
	Subscriber sdk.AccAddress `json:"subscriber"` // in bech32
	ChannelID  uint64         `json:"channel_id"`
}

Jump to

Keyboard shortcuts

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