tx

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterTxRoutes

func RegisterTxRoutes(clientCtx client.Context, r *mux.Router)

func SignDataRequest

func SignDataRequest(clientCtx client.Context) http.HandlerFunc

Types

type SignDataReq

type SignDataReq struct {
	Msg    string `json:"msg" yaml:"msg"`
	PubKey string `json:"pub_key" yaml:"pub_key"`
}

type SignDataResponse

type SignDataResponse struct {
	SignBytes string          `json:"sign_bytes" yaml:"sign_bytes"`
	Fee       legacytx.StdFee `json:"fee" yaml:"fee"`
}

Jump to

Keyboard shortcuts

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