getBlockHeightEpoch()

  /**
   * Get the block height epoch used by the Collective Portrait Registry contract in setPortraitHashAsDelegate.
   *
   * @remarks
   * The block height epoch is the block height that is used to verify the block height at which the user's Portrait will be set.
   *
   * @returns {number} - The block height epoch used by the Collective Portrait Registry contract in setPortraitHashAsDelegate.
   * @beta
   * @async
   */
  getBlockHeightEpoch(): number {
    return this.portrait.portraitCollectiveContract.getBlockHeightEpoch();
  }

Last updated