Information about the value of a star gift

Constructors

Accessors

  • get averagePrice(): null | Long
  • Average price for the gift on the secondary market (Telegram and Fragment), if available

    Returns null | Long

  • get currency(): string
  • Currency of values in this object

    Returns string

  • get floorPrice(): null | Long
  • Floor price for the gift on the secondary market (Telegram and Fragment), if available

    Returns null | Long

  • get fragmentUrl(): null | string
  • URL to the collectible on Fragment

    Returns null | string

  • get initialSale(): { date: Date; price: Long; stars: Long }
  • Information about the initial sale of the gift

    Returns { date: Date; price: Long; stars: Long }

    • date: Date

      Date when the first such gift was sold

    • price: Long

      Price of the gift in currency at the time of the sale

    • stars: Long

      Number of stars the gift was sold for

  • get isValueAverage(): boolean
  • Whether value is calculated as an after-market average over the past month

    Returns boolean

  • get lastSale(): null | { date: Date; fragment: boolean; price: Long }
  • Information about the last sale of the gift on the secondary market (Telegram and Fragment)

    Returns null | { date: Date; fragment: boolean; price: Long }

    • null
    • { date: Date; fragment: boolean; price: Long }
      • date: Date

        Date when the last such gift was sold

      • fragment: boolean

        Whether the sale was made on Fragment

      • price: Long

        Price of the gift in currency at the time of the sale

  • get listedCount(): { fragment: number; telegram: number }
  • Number of such gifts listed on the secondary market (Telegram and Fragment)

    Returns { fragment: number; telegram: number }

  • get value(): Long
  • Estimated value of the gift (in currency)

    Returns Long