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

x/lucid/mod.ts>Lucid#utxoByUnit

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

Unit needs to be an NFT (or optionally the entire supply in one UTxO).

Parameters

unit: Unit

Returns

Promise<UTxO>