tx

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2019 License: Apache-2.0 Imports: 16 Imported by: 2 modules, 8 packages

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 BroadcastTx

func BroadcastTx(cdc *amino.Codec, txBuilder ITxBuilder) (*ctypes.ResultBroadcastTxCommit, error)

func BroadcastTxAndPrintResult

func BroadcastTxAndPrintResult(cdc *amino.Codec, txBuilder ITxBuilder) error

func BroadcastTxs added in v0.2.0

func BroadcastTxs(cdc *amino.Codec, txsBuilder ITxsBuilder) (*ctypes.ResultBroadcastTxCommit, error)

func BroadcastTxsAndPrintResult added in v0.2.0

func BroadcastTxsAndPrintResult(cdc *amino.Codec, txsBuilder ITxsBuilder) error

func BuildAndSignQcpTx

func BuildAndSignQcpTx(ctx context.CLIContext, tx txs.ITx, fromChainID, toChainID string) (*txs.TxQcp, error)

func BuildAndSignStdTx

func BuildAndSignStdTx(ctx context.CLIContext, tXs []txs.ITx, fromChainID, toChainID string) (*txs.TxStd, error)

Types

type ITxBuilder

type ITxBuilder func(ctx context.CLIContext) (txs.ITx, error)

type ITxsBuilder added in v0.2.0

type ITxsBuilder func(ctx context.CLIContext) ([]txs.ITx, error)

Jump to

Keyboard shortcuts

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