Function getDeployedContractAddress

  • Utility function to wait for a transaction receipt, and extract the contractAddress

    Parameters

    • config: Config
    • hash: Promise<`0x${string}`>

      A transaction hash promise

    • OptionalwaitParams: Omit<WaitForTransactionReceiptParameters, "hash">

    Returns Promise<`0x${string}`>

    WaitForTransactionReceiptParameters

    NoContractAddressUponReceiptError if no contractAddress exists after the transaction has been received