Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BCCmd = &cobra.Command{
Use: "bc",
Short: "Deal with block chain of IoTeX blockchain",
}
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
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.