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

x/lucid/src/mod.ts>Core.NativeScript

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
class Core.NativeScript
import { Core } from "https://deno.land/x/lucid@0.7.8/src/mod.ts";
const { NativeScript } = Core;

Methods

Returns an array of unique Ed25519KeyHashes contained within this script recursively on any depth level. The order of the keys in the result is not determined in any way.

hash(namespace)

Static Methods

__wrap(ptr)
from_bytes(bytes)
from_json(json)
new_script_all(script_all)
new_script_any(script_any)
new_script_n_of_k(script_n_of_k)
new_script_pubkey(script_pubkey)
new_timelock_expiry(timelock_expiry)
new_timelock_start(timelock_start)