toScriptRefCbor method

CborObject toScriptRefCbor()

Converts the script reference to CBOR.

Implementation

CborObject toScriptRefCbor() {
  return CborTagValue(CborBytesValue(toCbor().encode()), _tag);
}