cli

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2019 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MultiSignRequestHandlerFn

func MultiSignRequestHandlerFn(cdc *codec.Codec, kb keys.Keybase, cliCtx context.CLIContext) http.HandlerFunc

MultiSignRequestHandlerFn - http request handler to build multisign transaction.

func RegisterRoutes

func RegisterRoutes(cliCtx context.CLIContext, r *mux.Router, cdc *codec.Codec, kb keys.Keybase)

RegisterRoutes - Central function to define routes that get registered by the main application

Types

type MultiSignReq

type MultiSignReq struct {
	Tx            auth.StdTx          `json:"tx"`
	ChainID       string              `json:"chain_id"`
	Signatures    []auth.StdSignature `json:"signatures"`
	SignatureOnly bool                `json:"signature_only"`
	Sequence      uint64              `json:"sequence_number"`
	Pubkey        string              `json:"pubkey"` // (optional) In case the multisig account never reveals its pubkey, it is required.
}

MultiSignReq defines the properties of a multisign request's body.

Jump to

Keyboard shortcuts

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