polkadart library

Classes

$ApiVersionCodec
$RuntimeVersionCodec
ApiVersion
A pairs of ApiId and a u32 for version.
Blake2bHasher
Blake2b hash
Hasher
HttpProvider
The HTTP Provider allows sending requests using HTTP to a HTTP RPC server TCP port. It does not support subscriptions so you won't be able to listen to events such as new blocks or balance changes. It is usually preferable using the [WsProvider]
KeyValue
Provider
ReadProof
ReadProof struct returned by the RPC
RpcResponse<R>
RuntimeMetadata
RuntimeVersion
Runtime version. This should not be thought of as classic Semver (major/minor/tiny). This triplet have different semantics and mis-interpretation could cause problems. In particular: bug fixes should result in an increment of spec_version and possibly authoring_version, absolutely not impl_version since they change the semantics of the runtime.
StateApi<P extends Provider>
Substrate state API
StorageChangeSet
Storage change set
StorageDoubleMap<K1, K2, V>
StorageHasher<K>
StorageMap<K, V>
StorageNMap<V>
StorageQuadrupleMap<K1, K2, K3, K4, V>
StorageQuintupleMap<K1, K2, K3, K4, K5, V>
StorageSextupleMap<K1, K2, K3, K4, K5, K6, V>
StorageTripleMap<K1, K2, K3, V>
StorageValue<V>
SubscriptionMessage<R>
SubscriptionReponse<R>
TwoxxHasher
XX hash
WsProvider
The WebSocket Provider allows sending requests using WebSocket to a WebSocket RPC server TCP port. Unlike the [HttpProvider], it does support subscriptions and allows listening to events such as new blocks or balance changes.
XXH64

Enums

Endian

Typedefs

ApiId = BigInt
The identity of a particular API interface that the runtime might provide.
BlockHash = Uint8List
Block hash
StorageData = Uint8List
Storage data associated to a `StorageKey`.
StorageKey = Uint8List
Storage key.