toRedeemScript method

Script toRedeemScript({
  1. bool compressed = true,
})

Implementation

Script toRedeemScript({bool compressed = true}) {
  final redeem = toHex(compressed: compressed);
  return Script(script: [redeem, "OP_CHECKSIG"]);
}