Chain class

Constructors

Chain([LegacyTypesBundle? typesBundleDefinition])

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
typesBundleDefinition → LegacyTypesBundle?
final
versioDescriptionList → List<VersionDescription>
Returns List<VersionDescription>
no setter

Methods

addSpecVersion(SpecVersion specVersion) → void
SpecVersion
decodeEvents(RawBlockEvents rawBlockEvents) → DecodedBlockEvents
decodeExtrinsics(RawBlockExtrinsics rawBlockExtrinsics) → DecodedBlockExtrinsics
encodeEvents(DecodedBlockEvents decodedBlockEvents) → RawBlockEvents
encodeExtrinsics(DecodedBlockExtrinsics decodedBlockExtrinsics) → RawBlockExtrinsics
getChainInfoFromSpecVersion(SpecVersion specVersion) → ChainInfo
getVersionDescription(int blockNumber) → VersionDescription?
Returns the VersionDescription for the blockNumber
initSpecVersionFromFile(String filePath) → void
Initialize the SpecVersions from a Json file path containing spec-versions
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited