Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/lucid/src/core/wasm_modules/cardano_multiplatform_lib_web/cardano_multiplatform_lib.d.ts>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.
Very Popular
Go to Latest
class ByronAddress
import { ByronAddress } from "https://deno.land/x/lucid@0.7.8/src/core/wasm_modules/cardano_multiplatform_lib_web/cardano_multiplatform_lib.d.ts";

Methods

attributes(): Uint8Array

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

free(): void
network_id(): number
to_base58(): string
to_bytes(): Uint8Array

Static Methods

from_address(addr: Address): ByronAddress | undefined
from_bytes(bytes: Uint8Array): ByronAddress
icarus_from_key(key: Bip32PublicKey, protocol_magic: number): ByronAddress
is_valid(s: string): boolean