think of it as the key to unlock the output
data TxOut ctx era = TxOut (AddressInEra era)
(TxOutValue era)
(TxOutDatum ctx era)
(ReferenceScript era)
- AddressInEra -> TxOutValue -> TxOutDatum ->ReferenceScript