import { Core } from "https://deno.land/x/lucid@0.5.2/src/mod.ts";
const { ByronAddress } = Core;
Methods
attributes(): Uint8Array
byron_protocol_magic(): number
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_address(): Address
to_base58(): string
to_bytes(): Uint8Array
Static Methods
from_address(addr: Address): ByronAddress | undefined
from_base58(s: string): ByronAddress
from_bytes(bytes: Uint8Array): ByronAddress
icarus_from_key(key: Bip32PublicKey, protocol_magic: number): ByronAddress
is_valid(s: string): boolean