• Applies parameters to a UPLC program encoded as a hex blob.

    This function takes a hex-encoded UPLC program and applies one or more Plutus data parameters to it. It does this by decoding the program, modifying its AST to apply the parameters, and then re-encoding it.

    Parameters

    • hex: Core.HexBlob

      The hex-encoded UPLC program.

    • Rest...params: PlutusData[]

      The Plutus data parameters to apply to the program.

    Returns Core.HexBlob

    A new hex-encoded UPLC program with the parameters applied.