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

x/lucid/src/types/types.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
import { type OutputData } from "https://deno.land/x/lucid@0.10.5/src/types/types.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; }