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

x/lucid/src/mod.ts>OutputData

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
type alias OutputData
Re-export
import { type OutputData } from "https://deno.land/x/lucid@0.10.6/src/mod.ts";

hash adds the datum hash to the output.

asHash hashes the datum and adds the datum hash to the output and the datum to the witness set.

inline adds the datum to the output.

scriptRef will add any script to the output.

You can either specify hash, asHash or inline, only one option is allowed.

definition: { hash?: DatumHash; asHash?: Datum; inline?: Datum; scriptRef?: Script; }