tx

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2018 License: Apache-2.0 Imports: 19 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddCommands

func AddCommands(cmd *cobra.Command, cdc *wire.Codec)

AddCommands adds a number of tx-query related subcommands

func BroadcastTxRequestHandler

func BroadcastTxRequestHandler(w http.ResponseWriter, r *http.Request)

func QueryTxCmd

func QueryTxCmd(cmdr commander) *cobra.Command

Get the default command for a tx query

func QueryTxRequestHandler

func QueryTxRequestHandler(cdc *wire.Codec) func(http.ResponseWriter, *http.Request)

func RegisterRoutes

func RegisterRoutes(r *mux.Router, cdc *wire.Codec)

func SearchTxCmd

func SearchTxCmd(cmdr commander) *cobra.Command

default client command to search through tagged transactions

func SearchTxRequestHandler

func SearchTxRequestHandler(cdc *wire.Codec) func(http.ResponseWriter, *http.Request)

func SignTxRequstHandler

func SignTxRequstHandler(w http.ResponseWriter, r *http.Request)

Types

type BroadcastTxBody

type BroadcastTxBody struct {
	TxBytes string `json="tx"`
}

type SignTxBody

type SignTxBody struct {
	Name     string `json="name"`
	Password string `json="password"`
	TxBytes  string `json="tx"`
}

Jump to

Keyboard shortcuts

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