UNPKG

@okxweb3/coin-ethereum

Version:

An Ethereum SDK for building Web3 wallets and applications.

14 lines (13 loc) 410 B
/// <reference types="node" /> export declare class Address { readonly buf: Buffer; constructor(buf: Buffer); static zero(): Address; static fromString(str: string): Address; static fromPublicKey(pubKey: Buffer): Address; static fromPrivateKey(privateKey: Buffer): Address; equals(address: Address): boolean; isZero(): boolean; toString(): string; toBuffer(): Buffer; }