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

x/lucid/src/core/core.ts>Core.ByronAddress

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
class Core.ByronAddress
import { Core } from "https://deno.land/x/lucid@0.7.7/src/core/core.ts";
const { ByronAddress } = Core;

Methods

returns the byron protocol magic embedded in the address, or mainnet id if none is present note: for bech32 addresses, you need to use network_id instead