rpc

package
v2.5.4 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2023 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetChainIDFn

func GetChainIDFn(cliCtx client.Context) http.HandlerFunc

func GetEVMValidators

func GetEVMValidators(cliCtx client.Context) http.HandlerFunc

func GetGenesisHandlerFn

func GetGenesisHandlerFn(cliCtx client.Context) http.HandlerFunc

func RegisterRoutes

func RegisterRoutes(cliCtx client.Context, r *mux.Router)

Types

type ValidatorMinimal

type ValidatorMinimal struct {
	Address     string `json:"address"`
	VotingPower int64  `json:"voting_power"`
}

type ValidatorsMinimal

type ValidatorsMinimal struct {
	BlockHeight int64              `json:"block_height"`
	Validators  []ValidatorMinimal `json:"validators"`
}

Jump to

Keyboard shortcuts

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