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

x/lucid/src/mod.ts>C.PlutusScript#bytes

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 C.PlutusScript.prototype.bytes
import { C } from "https://deno.land/x/lucid@0.10.6/src/mod.ts";
const { PlutusScript } = C;
  • The raw bytes of this compiled Plutus script.
    • If you need "cborBytes" for cardano-cli use PlutusScript::to_bytes() instead.