scriptPubKey property

String scriptPubKey

Implementation

String get scriptPubKey {
  var v = version == 0 ? version : version + 0x50;
  return ([v, program.length] + program)
      .map((c) => c.toRadixString(16).padLeft(2, '0'))
      .toList()
      .join('');
}