iotex-core: github.com/iotexproject/iotex-core/ioctl/cmd/bc Index | Files

package bc

import "github.com/iotexproject/iotex-core/ioctl/cmd/bc"

Index

Package Files

bc.go bcblock.go bcinfo.go

Variables

var BCCmd = &cobra.Command{
    Use:   "bc",
    Short: "Deal with block chain of IoTeX blockchain",
}

BCCmd represents the bc(block chain) command

func GetBlockMetaByHash Uses

func GetBlockMetaByHash(hash string) (*iotextypes.BlockMeta, error)

GetBlockMetaByHash gets block metadata by hash

func GetBlockMetaByHeight Uses

func GetBlockMetaByHeight(height uint64) (*iotextypes.BlockMeta, error)

GetBlockMetaByHeight gets block metadata by height

func GetChainMeta Uses

func GetChainMeta() (*iotextypes.ChainMeta, error)

GetChainMeta gets block chain metadata

func GetEpochMeta Uses

func GetEpochMeta(epochNum uint64) (*iotexapi.GetEpochMetaResponse, error)

GetEpochMeta gets blockchain epoch meta

Package bc imports 11 packages (graph) and is imported by 2 packages. Updated 2019-08-02. Refresh now. Tools for package owners.