toP2wshInP2sh method

P2shAddress toP2wshInP2sh({
  1. bool compressed = true,
})

return p2sh(p2wsh) nested 1-1 multisig segwit address

Implementation

P2shAddress toP2wshInP2sh({bool compressed = true}) {
  final p2sh = toP2wshAddress(compressed: compressed);
  return P2shAddress.fromSegwitScript(
      script: Script(script: p2sh.toScriptPubKey()),
      type: AddressType.p2wshInP2sh);
}