tx

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2022 License: Apache-2.0 Imports: 11 Imported by: 1 module, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BroadcastTxRequest

func BroadcastTxRequest(clientCtx client.Context) http.HandlerFunc

BroadcastTxRequest implements a tx broadcasting handler that is responsible for broadcasting a valid and signed tx to a full node. The tx can be broadcasted via a sync|async|block mechanism.

func RegisterTxRoutes

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

RegisterTxRoutes registers registers gert custom transaction routes on the provided router.

Types

type BroadcastReq

type BroadcastReq struct {
	Tx         legacytx.StdTx `json:"tx" yaml:"tx"`
	Mode       string         `json:"mode" yaml:"mode"`
	Sequences  []uint64       `json:"sequences" yaml:"sequences"`
	FeeGranter string         `json:"fee_granter" yaml:"fee_granter"`
}

BroadcastReq defines a tx broadcasting request.

func (BroadcastReq) UnpackInterfaces

func (m BroadcastReq) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error

UnpackInterfaces implements the UnpackInterfacesMessage interface.

Jump to

Keyboard shortcuts

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