-
- All Implemented Interfaces:
public final class SubstrateClientSubstrate client which holds substrate lookup service; constants service and storage service. Is the entering point for using those services.
-
-
Field Summary
Fields Modifier and Type Field Description private final ModuleProvidermodulesprivate final WebSocketwebSocketprivate final SubstrateLookuplookupprivate final SubstrateConstantsconstantsprivate final SubstrateStoragestorageprivate final SubstrateExtrinsicsextrinsics
-
Constructor Summary
Constructors Constructor Description SubstrateClient(String url, SubstrateClientSettings settings, ScaleCodecProvider codecProvider, HashersProvider hashers, InternalModuleProvider moduleProvider)
-
Method Summary
Modifier and Type Method Description final ModuleProvidergetModules()final WebSocketgetWebSocket()final SubstrateLookupgetLookup()final SubstrateConstantsgetConstants()final SubstrateStoragegetStorage()final SubstrateExtrinsicsgetExtrinsics()-
-
Constructor Detail
-
SubstrateClient
SubstrateClient(String url, SubstrateClientSettings settings, ScaleCodecProvider codecProvider, HashersProvider hashers, InternalModuleProvider moduleProvider)
-
-
Method Detail
-
getModules
final ModuleProvider getModules()
-
getWebSocket
final WebSocket getWebSocket()
-
getLookup
final SubstrateLookup getLookup()
-
getConstants
final SubstrateConstants getConstants()
-
getStorage
final SubstrateStorage getStorage()
-
getExtrinsics
final SubstrateExtrinsics getExtrinsics()
-
-
-
-