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: 0

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 added in v0.12.0

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 added in v0.12.0

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

func RegisterRoutes added in v0.12.0

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 added in v0.12.0

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

func SignTxRequstHandler added in v0.12.0

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

Types

type BroadcastTxBody added in v0.12.0

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

type SignTxBody added in v0.12.0

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