Documentation ¶
Index ¶
- func EstimateTxFeeRequestHandlerFn(cliCtx context.CLIContext) http.HandlerFunc
- func MultiSignRequestHandlerFn(cliCtx context.CLIContext) http.HandlerFunc
- func RegisterRoutes(cliCtx context.CLIContext, r *mux.Router)
- func RegisterTxRoutes(cliCtx context.CLIContext, r *mux.Router)
- type MultiSignPubKey
- type MultiSignReq
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EstimateTxFeeRequestHandlerFn ¶ added in v0.3.0
func EstimateTxFeeRequestHandlerFn(cliCtx context.CLIContext) http.HandlerFunc
EstimateTxFeeRequestHandlerFn returns estimated tx fee. In particular, it takes 'auto' for the gas field, then simulates and computes gas consumption.
func MultiSignRequestHandlerFn ¶
func MultiSignRequestHandlerFn(cliCtx context.CLIContext) http.HandlerFunc
MultiSignRequestHandlerFn - http request handler to build multisign transaction.
func RegisterRoutes ¶
func RegisterRoutes(cliCtx context.CLIContext, r *mux.Router)
RegisterRoutes registers the auth module REST routes
func RegisterTxRoutes ¶ added in v0.3.0
func RegisterTxRoutes(cliCtx context.CLIContext, r *mux.Router)
RegisterTxRoutes registers custom transaction routes on the provided router.
Types ¶
type MultiSignPubKey ¶ added in v0.3.0
MultiSignPubKey defines the properties of a multisig account's public key
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 MultiSignPubKey `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.
Click to show internal directories.
Click to hide internal directories.