Function isImmutable

  • Indicates if a given contract address is immutable

    Parameters

    • address: string

      The deweb smart contract address

    • provider: PublicProvider

      The provider to use

    • isFinal: boolean = false

      Whether to check if the contract is immutable in the final state or in the pending state. False by default.

    Returns Promise<boolean>

    True if the contract is immutable, false otherwise