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>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 Address
import { Address } from "https://deno.land/x/lucid@0.5.2/src/core/wasm_modules/cardano-multiplatform-lib-web/cardano_multiplatform_lib.d.ts";

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