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

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

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

Methods

as_base(): BaseAddress | undefined
as_byron(): ByronAddress | undefined
as_pointer(): PointerAddress | undefined
as_reward(): RewardAddress | undefined
free(): void
network_id(): number
to_bech32(prefix?: string): string
to_bytes(): Uint8Array
to_json(): string

Static Methods

from_bech32(bech_str: string): Address
from_bytes(data: Uint8Array): Address
from_json(json: string): Address