Class Address

Represents an Algorand address

Constructors

  • Create a new Address object from its binary form.

    Parameters

    • publicKey: Uint8Array

      The binary form of the address. Must be 32 bytes.

    Returns Address

Properties

publicKey: Uint8Array

The binary form of the address. For standard accounts, this is the public key.

Methods

  • Compute the 4 byte checksum of the address.

    Returns Uint8Array

  • Decode an address from a string.

    Parameters

    • address: string

      The address to decode. Must be 58 bytes long.

    Returns Address

    An Address object corresponding to the input string.

Generated using TypeDoc