rest

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RestDenom = "denom"
)

REST variable names nolint

Variables

This section is empty.

Functions

func RegisterRoutes

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

RegisterRoutes registers incentive-related REST handlers to a router

Types

type PostClaimReq added in v0.14.1

type PostClaimReq struct {
	BaseReq       rest.BaseReq     `json:"base_req" yaml:"base_req"`
	Sender        sdk.AccAddress   `json:"sender" yaml:"sender"`
	DenomsToClaim types.Selections `json:"denoms_to_claim" yaml:"denoms_to_claim"`
}

PostClaimReq defines the properties of claim transaction's request body.

type PostClaimVVestingReq added in v0.14.2

type PostClaimVVestingReq struct {
	BaseReq       rest.BaseReq     `json:"base_req" yaml:"base_req"`
	Sender        sdk.AccAddress   `json:"sender" yaml:"sender"`
	Receiver      sdk.AccAddress   `json:"receiver" yaml:"receiver"`
	DenomsToClaim types.Selections `json:"denoms_to_claim" yaml:"denoms_to_claim"`
}

PostClaimReq defines the properties of claim transaction's request body.

Jump to

Keyboard shortcuts

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