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

x/lucid/src/mod.ts>Core.RequiredWitnessSet

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
class Core.RequiredWitnessSet
import { Core } from "https://deno.land/x/lucid@0.5.2/src/mod.ts";
const { RequiredWitnessSet } = Core;

Methods

add_all(requirements: RequiredWitnessSet): void
add_bootstrap_key(bootstrap: Vkey): void
add_native_script(native_script: NativeScript): void
add_native_script_hash(native_script: ScriptHash): void
add_plutus_datum(plutus_datum: PlutusData): void
add_plutus_datum_hash(plutus_datum: DataHash): void
add_plutus_hash(plutus_script: ScriptHash): void
add_plutus_script(plutus_script: PlutusScript): void
add_plutus_v2_script(plutus_script: PlutusScript): void
add_redeemer(redeemer: Redeemer): void
add_vkey(vkey: Vkeywitness): void
add_vkey_key(vkey: Vkey): void
free(): void