P2SHAddress.fromHash constructor

P2SHAddress.fromHash(
  1. Uint8List hash, {
  2. required int version,
})

Constructs a P2SH address from the redeemScript hash.

Implementation

P2SHAddress.fromHash(Uint8List hash, { required int version })
  : super._(copyCheckBytes(hash, 20), version);