P2WSHAddress.fromHash constructor

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

Constructs a P2WSH address from the script hash

Implementation

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