@btc-stamps/tx-builder - v0.1.7
    Preparing search index...

    Interface IProtectionDetector

    Generic protection detection interface Implementations should check for specific asset types (ordinals, stamps, etc.)

    interface IProtectionDetector {
        getAssetData(utxo: UTXO): Promise<null | ProtectedAssetData>;
        isProtectedUtxo(utxo: UTXO): Promise<boolean>;
    }

    Implemented by

    Index

    Methods

    • Check if a UTXO contains protected assets

      Parameters

      • utxo: UTXO

        The UTXO to check

      Returns Promise<boolean>

      Promise True if the UTXO should be protected