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

x/lucid/src/plutus/time.ts>unixTimeToEnclosingSlot

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
function unixTimeToEnclosingSlot
import { unixTimeToEnclosingSlot } from "https://deno.land/x/lucid@0.10.1/src/plutus/time.ts";