rest

package
v1.6.21 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BroadcastTxRequest

func BroadcastTxRequest(cliCtx context.Context) http.HandlerFunc

func BroadcastTxRequestAsync

func BroadcastTxRequestAsync(cliCtx context.Context) http.HandlerFunc

func CheckAccountAndBalanceFromParams

func CheckAccountAndBalanceFromParams(ctx context.Context, r *http.Request, w http.ResponseWriter, denom string) bool

func QueryTxRequestHandlerFn

func QueryTxRequestHandlerFn(cliCtx context.Context) http.HandlerFunc

func QueryTxsWithHeight

func QueryTxsWithHeight(cliCtx context.Context) http.HandlerFunc

func RegisterTxRoutes

func RegisterTxRoutes(cliCtx context.Context, r *mux.Router)

func SendRequestHandlerFn

func SendRequestHandlerFn(cliCtx context.Context, writer http.ResponseWriter, request *http.Request)

Types

type TxRequestParams

type TxRequestParams struct {
	Hash   string `json:"hash"`
	Height string `json:"height"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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