RuntimeMetadata.fromHex constructor
RuntimeMetadata.fromHex(
- String hex
Implementation
factory RuntimeMetadata.fromHex(String hex) {
final decodedMetadata = MetadataDecoder.instance.decode(hex);
return RuntimeMetadata(
version: decodedMetadata.version,
metadata: decodedMetadata.metadata,
chainInfo: ChainInfo.fromMetadata(decodedMetadata),
);
}