getPricesForLength()

/**
   * Get the prices for three character names, four character names, and five character names or more.
   *
   * @remarks
   * Although return type is any, the return value is an object with three properties: threeCharprice, fourCharprice, and FiveCharOrMorePrice.
   * Subject to change.
   *
   * @returns {any} - The prices for three character names, four character names, and five character names or more.
   * @beta
   * @async
   */
  getPricesForLength(): any {
    const prices =
      this.portrait.portraitCollectiveContract.getPricesForLength(length);

    const json = {
      threeCharprice: prices[0],
      fourCharprice: prices[1],
      FiveCharOrMorePrice: prices[2],
    };

    return json;
  }

Last updated