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 RuntimeVersionSubscription struct + func (s *RuntimeVersionSubscription) Chan() <-chan types.RuntimeVersion + func (s *RuntimeVersionSubscription) Err() <-chan error + func (s *RuntimeVersionSubscription) Unsubscribe() + type State struct + func NewState(c client.Client) *State + func (s *State) GetChildKeys(childStorageKey, prefix types.StorageKey, blockHash types.Hash) ([]types.StorageKey, error) + func (s *State) GetChildKeysLatest(childStorageKey, prefix types.StorageKey) ([]types.StorageKey, error) + func (s *State) GetChildStorage(childStorageKey, key types.StorageKey, target interface{}, ...) error + func (s *State) GetChildStorageHash(childStorageKey, key types.StorageKey, blockHash types.Hash) (types.Hash, error) + func (s *State) GetChildStorageHashLatest(childStorageKey, key types.StorageKey) (types.Hash, error) + func (s *State) GetChildStorageLatest(childStorageKey, key types.StorageKey, target interface{}) error + func (s *State) GetChildStorageRaw(childStorageKey, key types.StorageKey, blockHash types.Hash) (*types.StorageDataRaw, error) + func (s *State) GetChildStorageRawLatest(childStorageKey, key types.StorageKey) (*types.StorageDataRaw, error) + func (s *State) GetChildStorageSize(childStorageKey, key types.StorageKey, blockHash types.Hash) (types.U64, error) + func (s *State) GetChildStorageSizeLatest(childStorageKey, key types.StorageKey) (types.U64, error) + func (s *State) GetKeys(prefix types.StorageKey, blockHash types.Hash) ([]types.StorageKey, error) + func (s *State) GetKeysLatest(prefix types.StorageKey) ([]types.StorageKey, error) + func (s *State) GetMetadata(blockHash types.Hash) (*types.Metadata, error) + func (s *State) GetMetadataLatest() (*types.Metadata, error) + func (s *State) GetRuntimeVersion(blockHash types.Hash) (*types.RuntimeVersion, error) + func (s *State) GetRuntimeVersionLatest() (*types.RuntimeVersion, error) + func (s *State) GetStorage(key types.StorageKey, target interface{}, blockHash types.Hash) error + func (s *State) GetStorageHash(key types.StorageKey, blockHash types.Hash) (types.Hash, error) + func (s *State) GetStorageHashLatest(key types.StorageKey) (types.Hash, error) + func (s *State) GetStorageLatest(key types.StorageKey, target interface{}) error + func (s *State) GetStorageRaw(key types.StorageKey, blockHash types.Hash) (*types.StorageDataRaw, error) + func (s *State) GetStorageRawLatest(key types.StorageKey) (*types.StorageDataRaw, error) + func (s *State) GetStorageSize(key types.StorageKey, blockHash types.Hash) (types.U64, error) + func (s *State) GetStorageSizeLatest(key types.StorageKey) (types.U64, error) + func (s *State) QueryStorage(keys []types.StorageKey, startBlock types.Hash, block types.Hash) ([]types.StorageChangeSet, error) + func (s *State) QueryStorageLatest(keys []types.StorageKey, startBlock types.Hash) ([]types.StorageChangeSet, error) + func (s *State) SubscribeRuntimeVersion() (*RuntimeVersionSubscription, error) + func (s *State) SubscribeStorageRaw(keys []types.StorageKey) (*StorageSubscription, error) + type StorageSubscription struct + func (s *StorageSubscription) Chan() <-chan types.StorageChangeSet + func (s *StorageSubscription) Err() <-chan error + func (s *StorageSubscription) Unsubscribe() Other modules containing this package gopkg.in/NodeFactoryIo/go-substrate-rpc-client.v0 gopkg.in/NodeFactoryIo/go-substrate-rpc-client.v2