Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var TxCmd = &cobra.Command{ Use: "tx", Short: "Create and read transaction data or status", Long: ``, Run: func(cmd *cobra.Command, args []string) { cmd.Help() }, }
TxCmd represents the repo command
Functions ¶
Types ¶
type GetArgs ¶
type GetArgs struct {
// Hash is the transaction hash
Hash string
// Status indicates that only the status info is requested
Status bool
// RpcClient is the RPC client
RPCClient types.Client
// GetTransaction is a function for getting a finalized transaction
GetTransaction api.TxGetter
Stdout io.Writer
}
GetArgs contains arguments for GetCmd.
Click to show internal directories.
Click to hide internal directories.