A TransactionOutput object includes the address which represents a public key hash or a script hash that can unlock the output, and the funds that are held inside.

Hierarchy

  • TransactionOutput

Constructors

Properties

#address: Cardano.Address
#datum: undefined | Serialization.Datum
#originalBytes: undefined | HexBlob = undefined
#scriptRef: undefined | Serialization.Script

Methods

  • The key idea is to use reference inputs and modified outputs which carry actual scripts ("reference scripts"), and allow such reference scripts to satisfy the script witnessing requirement for a transaction.

    This means that the transaction which uses the script will not need to provide it at all, so long as it referenced an output which contained the script.

    Returns

    The script reference.

    Returns undefined | Serialization.Script

Generated using TypeDoc