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

x/lucid/src/mod.ts>Tx#collectFrom

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 Tx.prototype.collectFrom
Re-export
import { Tx } from "https://deno.land/x/lucid@0.10.0/src/mod.ts";

A public key or native script input. With redeemer it's a plutus script input.

Parameters

utxos: UTxO[]
optional
redeemer: Redeemer