Raw.fragment.CollectibleInfo

Raw.fragment.CollectibleInfo

Info about a fragment collectible.

fragment.collectibleInfo#6ebdff91 purchase_date:int currency:string amount:long crypto_currency:string crypto_amount:long url:string = fragment.CollectibleInfo;
export namespace Raw {
  export namespace fragment {
    export class CollectibleInfo {
      constructor(params: {
        purchaseDate: number;
        currency: string;
        amount: bigint;
        cryptoCurrency: string;
        cryptoAmount: bigint;
        url: string;
      }) {}
    }
  }
}
🚫

This is a types constructor, you can’t use it as method when call invoke.

Layer: 185
Constructor ID: 0x6ebdff91

Property

  • purchaseDate : number

    Purchase date (unixtime)

  • currency : string

    Three-letter iso 4217 currency code for amount

  • amount : bigint

    Total price in the smallest units of the currency (integer, not float/double). for example, for a price of us 1.45 pass amount = 145. see the exp parameter in currencies.json, it shows the number of digits past the decimal point for each currency (2 for the majority of currencies).

  • cryptoCurrency : string

    Cryptocurrency name.

  • cryptoAmount : bigint

    Price, in the smallest units of the cryptocurrency.

  • url : string

    Fragment url with more info about the collectible