online

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2021 License: GPL-3.0, LGPL-3.0, LGPL-3.0-or-later Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CommandAllInfoByAddress = cli.Command{
	Name:      "allinfobyaddress",
	Aliases:   []string{"allinfo"},
	Category:  "online",
	Usage:     "get all info by address",
	ArgsUsage: "<address>",
	Description: `
get all info by address`,
	Flags: []cli.Flag{
		blockHeightFlag,
		serverAddrFlag,
	},
	Action: allinfobyaddress,
}
View Source
var CommandAllTickets = cli.Command{
	Name:      "alltickets",
	Aliases:   []string{"gettickets"},
	Category:  "online",
	Usage:     "get tikcets",
	ArgsUsage: "[<address>]",
	Description: `
get all tikcets, or tickets of a specified address`,
	Flags: []cli.Flag{
		blockHeightFlag,
		serverAddrFlag,
	},
	Action: alltickets,
}
View Source
var CommandGetAddressByNotation = cli.Command{
	Name:      "getaddressbynotation",
	Category:  "online",
	Usage:     "get address by notation",
	ArgsUsage: "<notation>",
	Description: `
get address by notation`,
	Flags: []cli.Flag{
		blockHeightFlag,
		serverAddrFlag,
	},
	Action: getaddressbynotation,
}
View Source
var CommandGetAllBalances = cli.Command{
	Name:      "getallbalances",
	Category:  "online",
	Usage:     "get all assets balances",
	ArgsUsage: "<address>",
	Description: `
get all assets balances`,
	Flags: []cli.Flag{
		blockHeightFlag,
		serverAddrFlag,
	},
	Action: getallbalances,
}
View Source
var CommandGetAllTimeLockBalances = cli.Command{
	Name:      "getalltimelockbalances",
	Aliases:   []string{"getalltlb"},
	Category:  "online",
	Usage:     "get all time lock balances",
	ArgsUsage: "<address>",
	Description: `
get all time lock balances`,
	Flags: []cli.Flag{
		rawTimeLockFlag,
		blockHeightFlag,
		serverAddrFlag,
	},
	Action: getalltimelockbalances,
}
View Source
var CommandGetAsset = cli.Command{
	Name:      "getasset",
	Category:  "online",
	Usage:     "get asset info",
	ArgsUsage: "<assetID>",
	Description: `
get asset information`,
	Flags: []cli.Flag{
		blockHeightFlag,
		serverAddrFlag,
	},
	Action: getasset,
}
View Source
var CommandGetBalance = cli.Command{
	Name:      "getbalance",
	Category:  "online",
	Usage:     "get asset balance",
	ArgsUsage: "<assetID> <address>",
	Description: `
get asset balance`,
	Flags: []cli.Flag{
		blockHeightFlag,
		serverAddrFlag,
	},
	Action: getbalance,
}
View Source
var CommandGetBlock = cli.Command{
	Name:      "getblock",
	Category:  "online",
	Usage:     "get block by hash or number",
	ArgsUsage: "<hash_or_number>",
	Description: `
get block by hash or number`,
	Flags: []cli.Flag{
		serverAddrFlag,
	},
	Action: getblock,
}
View Source
var CommandGetBlockReward = cli.Command{
	Name:      "getblockreward",
	Aliases:   []string{"getreward"},
	Category:  "online",
	Usage:     "get block reward",
	ArgsUsage: "",
	Description: `
get block reward`,
	Flags: []cli.Flag{
		blockHeightFlag,
		serverAddrFlag,
	},
	Action: getblockreward,
}
View Source
var CommandGetLatestNotation = cli.Command{
	Name:      "getlatestnotation",
	Category:  "online",
	Usage:     "get latest notation",
	ArgsUsage: "",
	Description: `
get latest notation`,
	Flags: []cli.Flag{
		blockHeightFlag,
		serverAddrFlag,
	},
	Action: getlatestnotation,
}
View Source
var CommandGetNotation = cli.Command{
	Name:      "getnotation",
	Category:  "online",
	Usage:     "get notation",
	ArgsUsage: "<address>",
	Description: `
get notation by address`,
	Flags: []cli.Flag{
		blockHeightFlag,
		serverAddrFlag,
	},
	Action: getnotation,
}
View Source
var CommandGetSnapshot = cli.Command{
	Name:      "getsnapshot",
	Aliases:   []string{"getsnap"},
	Category:  "online",
	Usage:     "get snapshot",
	ArgsUsage: "<blockNumber>",
	Description: `
get snapshot`,
	Flags: []cli.Flag{
		serverAddrFlag,
	},
	Action: getsnapshot,
}
View Source
var CommandGetSnapshotAtHash = cli.Command{
	Name:      "getsnapshotathash",
	Aliases:   []string{"getsnapat"},
	Category:  "online",
	Usage:     "get snapshot at hash",
	ArgsUsage: "<blockHash>",
	Description: `
get snapshot at hash`,
	Flags: []cli.Flag{
		serverAddrFlag,
	},
	Action: getsnapshotathash,
}
View Source
var CommandGetStakeInfo = cli.Command{
	Name:      "getstakeinfo",
	Aliases:   []string{"getstake"},
	Category:  "online",
	Usage:     "get stake info",
	ArgsUsage: "",
	Description: `
get stake information`,
	Flags: []cli.Flag{
		blockHeightFlag,
		serverAddrFlag,
	},
	Action: getstakeinfo,
}
View Source
var CommandGetSwap = cli.Command{
	Name:      "getswap",
	Category:  "online",
	Usage:     "get swap info",
	ArgsUsage: "<swapID>",
	Description: `
get swap information`,
	Flags: []cli.Flag{
		multiSwapFlag,
		blockHeightFlag,
		serverAddrFlag,
	},
	Action: getswap,
}
View Source
var CommandGetTimeLockBalance = cli.Command{
	Name:      "gettimelockbalance",
	Aliases:   []string{"gettlb"},
	Category:  "online",
	Usage:     "get time lock balance",
	ArgsUsage: "<assetID> <address>",
	Description: `
get time lock balance`,
	Flags: []cli.Flag{
		rawTimeLockFlag,
		blockHeightFlag,
		serverAddrFlag,
	},
	Action: gettimelockbalance,
}
View Source
var CommandGetTimeLockValue = cli.Command{
	Name:      "gettimelockvalue",
	Aliases:   []string{"gettlv"},
	Category:  "online",
	Usage:     "get time lock value",
	ArgsUsage: "<assetID> <address> <startTime> <endTime>",
	Description: `
get time lock spendable value between specified time range`,
	Flags: []cli.Flag{
		blockHeightFlag,
		serverAddrFlag,
	},
	Action: gettimelockvalue,
}
View Source
var CommandGetTransaction = cli.Command{
	Name:      "gettransaction",
	Aliases:   []string{"gettx"},
	Category:  "online",
	Usage:     "get transaction",
	ArgsUsage: "<txHash>",
	Description: `
get transaction by hash`,
	Flags: []cli.Flag{
		serverAddrFlag,
	},
	Action: gettransaction,
}
View Source
var CommandGetTransactionAndReceipt = cli.Command{
	Name:      "gettransactionandreceipt",
	Aliases:   []string{"gettxandr"},
	Category:  "online",
	Usage:     "get transaction and receipt",
	ArgsUsage: "<txHash>",
	Description: `
get transaction and receipt`,
	Flags: []cli.Flag{
		serverAddrFlag,
	},
	Action: gettransactionandreceipt,
}
View Source
var CommandGetTransactionCount = cli.Command{
	Name:      "gettransactioncount",
	Aliases:   []string{"getnonce"},
	Category:  "online",
	Usage:     "get transaction count",
	ArgsUsage: "<address>",
	Description: `
get transaction count (account nonce)`,
	Flags: []cli.Flag{
		serverAddrFlag,
	},
	Action: gettransactioncount,
}
View Source
var CommandGetTransactionReceipt = cli.Command{
	Name:      "gettransactionreceipt",
	Aliases:   []string{"gettxr", "getreceipt"},
	Category:  "online",
	Usage:     "get transaction receipt",
	ArgsUsage: "<txHash>",
	Description: `
get transaction receipt by transaction hash`,
	Flags: []cli.Flag{
		serverAddrFlag,
	},
	Action: gettransactionreceipt,
}
View Source
var CommandIsAutoBuyTicket = cli.Command{
	Name:      "isautobuyticket",
	Aliases:   []string{"isautobt"},
	Category:  "online",
	Usage:     "get is auto buy ticket flag",
	ArgsUsage: "",
	Description: `
get is auto buy ticket flag`,
	Flags: []cli.Flag{
		serverAddrFlag,
	},
	Action: isautobuyticket,
}
View Source
var CommandSendRawTx = cli.Command{
	Name:      "sendrawtx",
	Category:  "online",
	Usage:     "send raw transaction",
	ArgsUsage: "<rawtx>",
	Description: `
broadcast offline signed raw transaction (hex encoded)`,
	Flags: []cli.Flag{
		serverAddrFlag,
	},
	Action: sendrawtx,
}
View Source
var CommandTicketPrice = cli.Command{
	Name:      "ticketprice",
	Aliases:   []string{"getticketprice"},
	Category:  "online",
	Usage:     "get ticket price",
	ArgsUsage: "",
	Description: `
get ticket price`,
	Flags: []cli.Flag{
		blockHeightFlag,
		serverAddrFlag,
	},
	Action: ticketprice,
}
View Source
var CommandTotalNumberOfTickets = cli.Command{
	Name:      "totalnumberoftickets",
	Aliases:   []string{"totaltickets"},
	Category:  "online",
	Usage:     "get number of tickets",
	ArgsUsage: "[<address>...]",
	Description: `
get total number of tickets, or number of tickets of specified addresses`,
	Flags: []cli.Flag{
		blockHeightFlag,
		serverAddrFlag,
	},
	Action: totalnumberoftickets,
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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