Module

x/jucid/mod.ts>datumJsonToCbor

jucid is JSHy's fork of Lucid (jshy + lucid = jucid)
Latest
function datumJsonToCbor
import { datumJsonToCbor } from "https://dotland.deno.dev/x/jucid@1.0.0-alpha.1/mod.ts";

This function is temporarily needed only, until Blockfrost returns the datum natively in Cbor. The conversion is ambigious, that's why it's better to get the datum directly in Cbor.

Parameters

json: DatumJson

Returns

Datum