Versions in this module Expand all Collapse all v4 v4.0.4 Jul 18, 2022 Changes in this version + type Chain interface + GetBlock func(blockHash types.Hash) (*types.SignedBlock, error) + GetBlockHash func(blockNumber uint64) (types.Hash, error) + GetBlockHashLatest func() (types.Hash, error) + GetBlockLatest func() (*types.SignedBlock, error) + GetFinalizedHead func() (types.Hash, error) + GetHeader func(blockHash types.Hash) (*types.Header, error) + GetHeaderLatest func() (*types.Header, error) + SubscribeFinalizedHeads func() (*FinalizedHeadsSubscription, error) + SubscribeNewHeads func() (*NewHeadsSubscription, error) + func NewChain(cl client.Client) Chain + 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 github.com/foundryservices/go-substrate-rpc-client