Documentation ¶
Index ¶
- func GetChainMeta(client ioctl.Client) (*iotextypes.ChainMeta, error)
- func GetEpochMeta(epochNum uint64, client ioctl.Client) (*iotexapi.GetEpochMetaResponse, error)
- func GetProbationList(epochNum uint64, client ioctl.Client) (*iotexapi.ReadStateResponse, error)
- func JSONString(out interface{}) string
- func NewBCBlockCmd(client ioctl.Client) *cobra.Command
- func NewBCCmd(client ioctl.Client) *cobra.Command
- func NewBCInfoCmd(client ioctl.Client) *cobra.Command
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetChainMeta ¶
func GetChainMeta(client ioctl.Client) (*iotextypes.ChainMeta, error)
GetChainMeta gets blockchain metadata
func GetEpochMeta ¶
GetEpochMeta gets blockchain epoch meta
func GetProbationList ¶
GetProbationList gets probation list
func JSONString ¶ added in v1.8.0
func JSONString(out interface{}) string
JSONString returns json string for message
func NewBCBlockCmd ¶ added in v1.1.0
NewBCBlockCmd represents the bc block command
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.