Constructor: fragment.collectibleInfo
Info about a fragment collectible.
Attributes:
Name | Type | Required | Description |
---|---|---|---|
purchase_date | int | Yes | Purchase date (unixtime) |
currency | string | Yes | Three-letter ISO 4217 currency code for amount |
amount | long | Yes | 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). |
crypto_currency | string | Yes | Cryptocurrency name. |
crypto_amount | long | Yes | Price, in the smallest units of the cryptocurrency. |
url | string | Yes | Fragment URL with more info about the collectible |
Type: fragment.CollectibleInfo
Example:
$fragment_collectibleInfo = ['_' => 'fragment.collectibleInfo', 'purchase_date' => int, 'currency' => 'string', 'amount' => long, 'crypto_currency' => 'string', 'crypto_amount' => long, 'url' => 'string'];