Versions in this module Expand all Collapse all v1 v1.1.0 Jan 17, 2020 v1.0.0 Nov 29, 2019 Changes in this version + type Chain struct + func NewChain(cl client.Client) *Chain + func (c *Chain) GetBlock(blockHash types.Hash) (*types.SignedBlock, error) + func (c *Chain) GetBlockHash(blockNumber uint64) (types.Hash, error) + func (c *Chain) GetBlockHashLatest() (types.Hash, error) + func (c *Chain) GetBlockLatest() (*types.SignedBlock, error) + func (c *Chain) GetFinalizedHead() (types.Hash, error) + func (c *Chain) GetHeader(blockHash types.Hash) (*types.Header, error) + func (c *Chain) GetHeaderLatest() (*types.Header, error) + func (c *Chain) SubscribeFinalizedHeads() (*FinalizedHeadsSubscription, error) + func (c *Chain) SubscribeNewHeads() (*NewHeadsSubscription, error) + type FinalizedHeadsSubscription struct + func (s *FinalizedHeadsSubscription) Chan() <-chan types.Header + func (s *FinalizedHeadsSubscription) Err() <-chan error + func (s *FinalizedHeadsSubscription) Unsubscribe() + type NewHeadsSubscription struct + func (s *NewHeadsSubscription) Chan() <-chan types.Header + func (s *NewHeadsSubscription) Err() <-chan error + func (s *NewHeadsSubscription) Unsubscribe() Other modules containing this package gopkg.in/nodefactoryio/go-substrate-rpc-client.v0 gopkg.in/nodefactoryio/go-substrate-rpc-client.v2