web3x
Version:
Typescript port of web3.js
16 lines (15 loc) • 485 B
TypeScript
/// <reference types="node" />
export declare class Address {
private buffer;
static ZERO: Address;
constructor(buffer: Buffer);
static fromString(address: string): Address;
static isAddress(address: string): boolean;
static checkAddressChecksum(address: string): boolean;
static toChecksumAddress(address: string): string;
equals(rhs: Address): boolean;
toJSON(): string;
toString(): string;
toBuffer(): Buffer;
toBuffer32(): Buffer;
}