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.7.6/src/types/types.ts";

asHash will add the datum hash to the output and the datum to the witness set. inline will add the datum to the output. scriptRef will add any script to the output. You can only specify asHash or inline, not both at the same time.

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