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

x/lucid/src/mod.ts>toText

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

Convert a Hex encoded string to a Utf-8 encoded string.

Parameters

hex: string

Returns

string