tx

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2018 License: Apache-2.0 Imports: 19 Imported by: 2

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