OPNet
    Preparing search index...

    Enumeration TransactionOutputFlags

    Index

    Enumeration Members

    Enumeration Members

    hasScriptPubKey: 2

    Indicates that the output has a scriptPubKey. For example P2PK / OP_RETURN

    This flag is used to mark outputs that have a scriptPubKey.

    hasTo: 1

    Indicates that the output has a recipient address.

    This flag is used to mark outputs that have a recipient address.

    OP_RETURN: 4

    Indicates that the output is an OP_RETURN output. This flag must also include the hasScriptPubKey flag.

    This flag is used to mark outputs that are OP_RETURN type.

    const flags = TransactionOutputFlags.hasScriptPubKey | TransactionOutputFlags.OP_RETURN;