primitives/primitives library
Classes
- $ApiVersionCodec
- $ChainType
- ChainType enum values
- $ChainTypeCodec
- ChainType Scale Codec
- $HealthCodec
- $RuntimeVersionCodec
- ApiVersion
-
A pairs of
ApiId
and au32
for version. - ChainType
- The type of a chain.
- Custom
- Some custom chain type.
- Development
- A development chain that runs mainly on one node.
- EventRecord
- Events
- ExtrinsicStatus
- Health
- Health struct returned by the RPC
- KeyValue
- Live
- A live chain.
- Local
- A local chain that runs locally on multiple nodes for testing purposes.
-
PeerInfo<
H, N> - Network Peer information
-
PeerInfoCodec<
H, N> - PeerInfo Scale Codec
- ReadProof
- ReadProof struct returned by the RPC
- 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 possiblyauthoring_version
, absolutely notimpl_version
since they change the semantics of the runtime. - StorageChangeSet
- Storage change set
- SyncState
- The state of the syncing of the node.
- SyncStateCodec
- SyncState Scale Codec
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.