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

x/lucid/src/utils/mod.ts>toUnit

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
function toUnit
import { toUnit } from "https://deno.land/x/lucid@0.7.0/src/utils/mod.ts";

Parameters

policyId: PolicyId

Hex encoded

optional
name: string | null
optional
label: number | null