Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AllGlobalStateUtxosCmd = &cobra.Command{ Use: "all-global-state-utxos", Short: "List UTxOs for all access tokens on Andamio Network", Long: ``, Run: func(cmd *cobra.Command, args []string) { client.GetAllGlobalStateUtxos() }, }
View Source
var DecodedGlobalStateDatumCmd = &cobra.Command{ Use: "view-access-token", Short: "View access token datum for specified alias", Long: ``, Run: func(cmd *cobra.Command, args []string) { response, err := client.GetDecodedGlobalStateDatum(alias) if err != nil { log.Fatalf("Falied to get list of access token datums: %v", err) } utils.SaveOutputToFile(cmd, response) }, }
View Source
var GlobalStateCmd = &cobra.Command{ Use: "global-state", Short: "View Andamio Network data", Long: ``, Run: func(cmd *cobra.Command, args []string) { if len(args) == 0 { cmd.Help() return } fmt.Printf("Error: '%s' is not a valid subcommand for 'global-state'\n", args[0]) fmt.Println("Run './andamio-cli query network global-state --help' for available subcommands.") os.Exit(1) }, }
View Source
var GlobalStateUtxoCmd = &cobra.Command{ Use: "global-state-utxo", Short: "View global state utxo for specified alias", Long: ``, Run: func(cmd *cobra.Command, args []string) { client.GetGlobalStateUtxo(alias) }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.