Function fromContractDestination

  • Create an Address instance from a 0x-prefixed hex string address returned by Address.toContractDestination().

    Parameters

    • address: `0x${string}`

      The 0x-prefixed hex string address.

    • network: Network

      The network the address is on.

    Returns IAddress