Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/lucid/mod.ts>Core.PlutusWitness.new

Lucid is a library, which allows you to create Cardano transactions and off-chain code for your Plutus contracts in JavaScript, Deno and Node.js.
Go to Latest
method Core.PlutusWitness.new
import { Core } from "https://deno.land/x/lucid@0.5.2/mod.ts";
const { PlutusWitness } = Core;

Plutus V1 witness or witness where no script is attached and so version doesn't matter

Parameters

redeemer: PlutusData
optional
plutus_data: PlutusData
optional
script: PlutusScript