rest

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2023 License: MPL-2.0 Imports: 13 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 EvidenceSubmitReq

type EvidenceSubmitReq struct {
	BaseReq   utils.BaseReq `json:"base_req"`
	Submitter string        `json:"submitter"` // in bech 32
	Headers   []axc.Header  `json:"headers"`
}

type UnjailReq

type UnjailReq struct {
	BaseReq utils.BaseReq `json:"base_req"`
}

Unjail TX body

Jump to

Keyboard shortcuts

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