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

x/lucid/src/types/types.ts>PlutusData

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
type alias PlutusData
import { type PlutusData } from "https://deno.land/x/lucid@0.7.6/src/types/types.ts";

These are the arguments that conform a BuiltinData in Plutus: data Data = Constr Integer [Data] | Map [(Data, Data)] | List [Data] | I Integer | B BS.ByteString deriving stock (Show, Eq, Ord, Generic) deriving anyclass (NFData)

definition:
| bigint
| Bytes
| Array<PlutusData>