tx

package
v0.1.0-xco.1 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2022 License: Apache-2.0 Imports: 14 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