Class Address

Hierarchy

  • Address

Constructors

Properties

Constructors

  • Description

    Creates an instance of Address.

    Memberof

    Address

    Example

    const addr = new Address(1234567890n);
    const addr = new Address('1234567890');
    const addr = new Address('0x1234567890');

    Parameters

    • addr: string | bigint

      Address to convert. Only accepts decimal addresses when passing a string without 0x.

    Returns Address

Properties

addr: bigint

Description

Address as a bigint.

Memberof

Address

Generated using TypeDoc