stack

Home > @infiniteobjects/data-types > IAssetToken

IAssetToken interface

Asset Token data.

Signature:

export interface IAssetToken<Traits extends IAssetTraits> 

Properties

Property Modifiers Type Description
assetType   FileType Type of data the Token points to
backgroundColor   RGBA Background color for this asset
blockchain   Blockchain Blockchain
blockchainNetwork   BlockchainNetwork Blockchain Network
collection   IAssetCollection Collection this token is part of
contract   IAssetContract Asset contract that generated this token
creator   Nullable<IProfile> The Creator of the asset
description   Nullable<string> Asset Description
externalUrl   string Link to the website for this Asset
id   string The id of the token
name   Nullable<string> Asset name (might be empty???)
original   IAssetOriginalFile Original file the token points to
owner   Nullable<IProfile> The owner of the asset or null if ERC-1155
previewType   FileType Type of data the preview points to
previewUrl   Nullable<string> Preview file of the asset
printability   IAssetPrintabilityStatus Can we make a video print of this token?
thumbnailUrl?   Nullable<string> (Optional) Thumbnail image of the file
tokenAddress   string The asset’s contract address
tokenId   Nullable<string> The asset’s token ID, or null if ERC-20
tokenService   TokenService TokenService
traits   Traits Asset Traits