Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/lucid/src/core/core.ts>Core.TransactionOutput

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

Methods

datum(): Datum | undefined
free(): void
script_ref(): ScriptRef | undefined
set_datum(datum: Datum): void
set_script_ref(script_ref: ScriptRef): void
to_bytes(): Uint8Array
to_json(): string
to_legacy_bytes(): Uint8Array

legacy support: serialize output as array array

does not support inline datum and script_ref!