Asset
Assets are the main building block of Parcel. The in-game collectible (or NFT) itself.
type Asset {
id: Int!
ex_asset_id: String!
type_id: Int!
type: AssetType!
owner_id: Int!
owner: Wallet!
name: String
contract_address_id: Int!
contract_address: ContractAddress!
media_id: Int
media: Media
latest_listing: Listing
latest_sale: Sale
game: Game!
collection: Collection!
traits: [Trait!]
}
Fields
Asset.collection
Collection!
Asset.collection
Collection!The Collection object of the collection with which the asset is associated.
Asset.contract_address
ContractAddress!
Asset.contract_address
ContractAddress!The ContractAddress object of the collection to which the asset belongs.
Asset.contract_address_id
Int!
Asset.contract_address_id
Int!The contract address identifier of the collection to which the asset belongs.
Asset.ex_asset_id
String!
Asset.ex_asset_id
String!The external identifier of the asset. Usually this is the token id.
Asset.game
Game!
Asset.game
Game!The Game object of the game with which the asset is associated.
Asset.id
Int!
Asset.id
Int!A unique identifier.
Asset.latest_listing
Listing
Asset.latest_listing
ListingThe Listing object of the most recent, active listing of the asset, if one exists.
Asset.latest_sale
Sale
Asset.latest_sale
SaleThe Sale object of the most recent sale of the asset, if one exists.
Asset.media
Media
Asset.media
MediaThe Media object of the asset.
Asset.media_id
Int
Asset.media_id
IntThe media identifier of the asset.
Asset.name
String
Asset.name
StringThe name given to the asset in the asset's metadata.
Asset.owner
Wallet!
Asset.owner
Wallet!The Wallet object of the wallet in which the asset is stored (based on Asset.owner_id).
Asset.owner_id
Int!
Asset.owner_id
Int!The owner identifier of the wallet in which the asset is stored.
Asset.traits
[Trait!]
Asset.traits
[Trait!]A list of traits from the asset's on-chain metadata.
Asset.type
AssetType!
Asset.type
AssetType!The AssetType object of the asset (based on Asset.type_id).
Asset.type_id
Int!
Asset.type_id
Int!The type identifier of the asset. See Asset Types - Queries to retrieve a list of possible values.