@xo-cash/engine
    Preparing search index...

    Function createLibauthCompilerDataFromUnspentOutput

    • Creates the libauth compatible compiler data for a unspent output.

      Parameters

      • template: Template

        The template used to generate the compiler data for.

      • unspentOutput: UnspentOutputData

        The unspent output to create the compiler data for.

      Returns Promise<{ compiler: CompilerBch; script: string; valueSatoshis: bigint }>

      The compiler data for the unspent output.