Skip to main content
Module

x/lucid/src/core/wasm_modules/cardano_multiplatform_lib_web/cardano_multiplatform_lib.d.ts>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.
Go to Latest
method TransactionBuilder.prototype.add_json_metadatum_with_schema
import { TransactionBuilder } from "https://deno.land/x/lucid@0.7.9/src/core/wasm_modules/cardano_multiplatform_lib_web/cardano_multiplatform_lib.d.ts";

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