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

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

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)
verify(
lower_bound,
upper_bound,
key_hashes,
)

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)