getPortraitHash()

  /**
   * Get a Collective Portrait Hash
   * @param {CollectivePortraitName} name - The name of the Collective Portrait that the user would like to get a hash for.
   * @returns {string} - The hash of the Collective Portrait.
   * @beta
   * @async
   */
  getPortraitHash(name: CollectivePortraitName): string {
    return this.portrait.portraitCollectiveContract.getPortraitHash(name);
  }

Last updated