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

x/lucid/src/core/libs/cardano_multiplatform_lib/cardano_multiplatform_lib.generated.js>encode_json_str_to_native_script

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
function encode_json_str_to_native_script
import { encode_json_str_to_native_script } from "https://deno.land/x/lucid@0.10.4/src/core/libs/cardano_multiplatform_lib/cardano_multiplatform_lib.generated.js";

Receives a script JSON string and returns a NativeScript. Cardano Wallet and Node styles are supported.

self_xpub is expected to be a Bip32PublicKey as hex-encoded bytes

Parameters

json
self_xpub
schema