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
: numberPurchase date (unixtime)
currency
: stringThree-letter iso 4217 currency code for amount
amount
: bigintTotal 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
: stringCryptocurrency name.
cryptoAmount
: bigintPrice, in the smallest units of the cryptocurrency.
url
: stringFragment url with more info about the collectible