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

x/lucid/src/mod.ts>C.TransactionBuilder#construct

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
method C.TransactionBuilder.prototype.construct
import { C } from "https://deno.land/x/lucid@0.10.6/src/mod.ts";
const { TransactionBuilder } = C;

Returns full Transaction object with the body and the auxiliary data

NOTE: witness_set will contain all mint_scripts if any been added or set

takes fetched ex units into consideration

add collateral utxos and collateral change receiver in case you redeem from plutus script utxos

async call

NOTE: is_valid set to true

Parameters

collateral_utxos
collateral_change_address
native_uplc