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

x/lucid/mod.ts>Tx#mintAssets

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.
Very Popular
Go to Latest
method Tx.prototype.mintAssets
Re-export
import { Tx } from "https://deno.land/x/lucid@0.10.7/mod.ts";

All assets should be of the same policy id. You can chain mintAssets functions together if you need to mint assets with different policy ids. If the plutus script doesn't need a redeemer, you still need to specifiy the void redeemer.

Parameters

assets: Assets
optional
redeemer: Redeemer