Get token information
The GET /tokens
endpoint data
field returns a Token object if the provided combination of collection
and tokenId
matches a token in our database or null
if no token matches the filters provided.
Get token information successful response schema:
{
"success": true,
"message": null,
"data": Token | null
}
Account object schema:
Field Name | Field Type | Description |
---|---|---|
id | number | The token's unique identifier across all tokens stored in our database. |
collectionAddress | string | The token's collection address. |
tokenId | string | The token's id. |
tokenURI | string | null | The token's metadata URI. |
imageURI | string | The token's image URI. It will be a valid URI only if the token's metadata have the image field set correctly. |
isExplicit | boolean | Set to true if the token content is explicit.Set to false if the token content is not explicit. |
isAnimated | boolean | Set to true if the token content is animated.Set to false if the token content is not animated. |
flag | string | An internal flag to related to the asset content. It can be se to NONE (standard), NO_IMAGE , TRIAGE (under assessment). |
name | string | The token's name set in the metadata. If none set, it will default to looks-lost . |
description | string | null | The token's description set in the metadata. |
collection | Collection | The collection object (see Collection Schema) |
attributes | Attribute[] | The attribute object is detailed below. |
Attribute object schema:
Field Name | Field Type | Description |
---|---|---|
traitType | string | The token's trait type as defined in the metadata. |
value | string | The token's trait value as defined in the metadata. |
displayType | string | null | The token's trait display type as defined in the metadata. |
count | bigint | The amount of assets with the specific trait. |
floorOrder | Order | The order object of the cheapest listing for the specific trait (see Orders Schema) |