Documentation
¶
Index ¶
- Variables
- func GetBlockMetaByHash(hash string) (*iotextypes.BlockMeta, error)
- func GetBlockMetaByHeight(height uint64) (*iotextypes.BlockMeta, error)
- func GetChainMeta() (*iotextypes.ChainMeta, error)
- func GetEpochMeta(epochNum uint64) (*iotexapi.GetEpochMetaResponse, error)
- func GetProbationList(epochNum uint64) (*iotexapi.ReadStateResponse, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var BCCmd = &cobra.Command{ Use: config.TranslateInLang(bcCmdUses, config.UILanguage), Short: config.TranslateInLang(bcCmdShorts, config.UILanguage), }
BCCmd represents the bc(block chain) command
Functions ¶
func GetBlockMetaByHash ¶
func GetBlockMetaByHash(hash string) (*iotextypes.BlockMeta, error)
GetBlockMetaByHash gets block metadata by hash
func GetBlockMetaByHeight ¶
func GetBlockMetaByHeight(height uint64) (*iotextypes.BlockMeta, error)
GetBlockMetaByHeight gets block metadata by height
func GetChainMeta ¶
func GetChainMeta() (*iotextypes.ChainMeta, error)
GetChainMeta gets block chain metadata
func GetEpochMeta ¶ added in v0.8.1
func GetEpochMeta(epochNum uint64) (*iotexapi.GetEpochMetaResponse, error)
GetEpochMeta gets blockchain epoch meta
func GetProbationList ¶ added in v0.11.0
func GetProbationList(epochNum uint64) (*iotexapi.ReadStateResponse, error)
GetProbationList gets probation list
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.