P2WPKHAddress.fromHash constructor

P2WPKHAddress.fromHash(
  1. Uint8List hash, {
  2. required String hrp,
})

Constructs a P2WPKH address directly from the hash

Implementation

P2WPKHAddress.fromHash(Uint8List hash, { required String hrp })
  : super._(0, copyCheckBytes(hash, 20), hrp);