toScriptPubKey method

  1. @override
List<String> toScriptPubKey()

returns the scriptPubKey of a P2TR witness script

Implementation

@override
List<String> toScriptPubKey() {
  return ['OP_1', _program];
}