SubstratePubKey.fromBytes constructor

SubstratePubKey.fromBytes({
  1. required List<int> keyBytes,
  2. required SubstrateCoinConf coinConf,
})

Implementation

factory SubstratePubKey.fromBytes(
    {required List<int> keyBytes, required SubstrateCoinConf coinConf}) {
  return SubstratePubKey._(_keyFromBytes(keyBytes, coinConf.type), coinConf);
}