P2SHAddress.fromRedeemScript constructor

P2SHAddress.fromRedeemScript(
  1. Script script, {
  2. required int version,
})

Constructs a P2SH address for a redeemScript

Implementation

P2SHAddress.fromRedeemScript(Script script, { required int version })
  : super._(hash160(script.compiled), version);