UNPKG

@planetarium/account

Version:
17 lines (16 loc) 599 B
import { Account } from "./Account.js"; import { PublicKey } from "./PublicKey.js"; export declare class Address { #private; private constructor(); static deriveFrom(publicKey: PublicKey): Address; static deriveFrom(account: Account): Promise<Address>; static fromHex(hex: string, ignoreChecksum?: boolean): Address; static fromBytes(bytes: Uint8Array): Address; toBytes(): Uint8Array; toHex(casing?: "checksum" | "lower"): string; equals(other: Address): boolean; isAddressOf(publicKey: PublicKey): boolean; toString(): string; } export default Address;