rest

package
v0.0.0-...-dec079c Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2022 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 client.Context, r *mux.Router)

RegisterRoutes registers incentive-related REST handlers to a router

Types

type PostClaimReq

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

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