Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/lucid/mod.ts>C.TransactionBuilder#add_mint

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

Add a mint entry to this builder using a PolicyID and MintAssets object It will be securely added to existing or new Mint in this builder It will securely add assets to an existing PolicyID But it will replace/overwrite any existing mint assets with the same PolicyID first redeemer applied to a PolicyID is taken for all further assets added to the same PolicyID

Parameters

policy_id
mint_assets
script_witness