Skip to main content

VerificationKeyUpgradeData

Represents the data required to upgrade a contract's verification key. It includes the contract's address, token ID, previous verification key hash, and the new verification key hash. This class also provides a hash() method to generate a unique identifier for the upgrade data.

Hierarchy

  • any
    • VerificationKeyUpgradeData

Index

Constructors

Methods

Constructors

constructor

  • Returns VerificationKeyUpgradeData

Methods

hash

  • hash(): Field
  • Generates a unique hash for the upgrade data using the Poseidon hash function.


    Returns Field

    The hash representing the upgrade data.

Page Options