Address is the base interface all address types must implement.

Represents a parsed address

Hierarchy

  • Address

Implemented by

Methods

  • Return the address in its canonical string format

    Returns string

  • Return the bytes for the address

    Returns Uint8Array

  • Return an Address that has been converted to its Universal representation

    Returns UniversalAddress

  • unwrap returns the underlying native address type, e.g.: a Uint8Array for UniversalAddress a checksum hex string string for EVM(ethers) a PublicKey for Solana etc.

    Returns unknown

Generated using TypeDoc