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

x/lucid/src/core/core.ts>Core.TransactionBuilder#add_json_metadatum_with_schema

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 Core.TransactionBuilder.prototype.add_json_metadatum_with_schema
import { Core } from "https://deno.land/x/lucid@0.5.2/src/core/core.ts";
const { TransactionBuilder } = Core;

Add a single JSON metadatum using a TransactionMetadatumLabel, a String, and a MetadataJsonSchema object It will be securely added to existing or new metadata in this builder

Parameters

key: BigNum
val: string
schema: number