Skip to main content
Module

x/lucid/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.
Very Popular
Go to Latest
type alias OutputData
Re-export
import { type OutputData } from "https://deno.land/x/lucid@0.10.6/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; }