Generic address class

Hierarchy (View Summary)

Implements

Constructors

  • Parameters

    • payload: Uint8Array
    • network: Network

    Returns Address

Properties

"[symbol]": boolean
network: Network
networkPrefix: "f" | "t"
payload: Uint8Array<ArrayBufferLike>

Methods

  • Returns Uint8Array<ArrayBufferLike>

  • Converts any address to a 0x address, either id masked address or eth address depending on the address type. Delegated addresses convert to eth address and f1, f2, f3 convert to id masked address and f0 depends on the underline address type

    Parameters

    Returns Promise<string>

  • Returns Uint8Array<ArrayBuffer>

  • Returns `0x${string}`

  • Returns string