Caravan Documentation
    Preparing search index...

    Function getOutputAddressProtected

    • Protected

      Attempts to derive the address from an output script.

      Parameters

      • script: Buffer

        The output script

      • network: Network

        The Bitcoin network (e.g., mainnet, testnet) to use for address derivation.

      Returns string

      The derived address or an error message if unable to derive