scriptData property

  1. @TagNumber(6)
List<int> get scriptData

Spending script pubkey data. Use this variant if the UTXO claiming script is known already, otherwise use InputBuilder. Please note that the signing method (eg "legacy" or "segwit") will be determined by parsing the script data as:

  • P2PK, P2PKH - legacy signing method;
  • P2WPKH - segwit signing method.

Implementation

@$pb.TagNumber(6)
$core.List<$core.int> get scriptData => $_getN(5);
  1. @TagNumber(6)
set scriptData (List<int> v)

Implementation

@$pb.TagNumber(6)
set scriptData($core.List<$core.int> v) {
  $_setBytes(5, v);
}