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

x/lucid/src/utils/mod.ts>applyDoubleCborEncoding

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
function applyDoubleCborEncoding
import { applyDoubleCborEncoding } from "https://deno.land/x/lucid@0.10.10/src/utils/mod.ts";

Returns double cbor encoded script. If script is already double cbor encoded it's returned as it is.

Parameters

script: string

Returns

string