import { Core } from "https://deno.land/x/lucid@0.5.2/src/mod.ts";
const { TransactionOutput } = Core;
Methods
free(): void
script_ref(): ScriptRef | undefined
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!
Static Methods
from_bytes(bytes: Uint8Array): TransactionOutput
from_json(json: string): TransactionOutput
new(address: Address, amount: Value): TransactionOutput