Assets are items on Horizon Network. They are represented by the Asset type, defined in TypeScript:
/**
* Simple NFT asset spec
*/
export interface Asset {
// Information about the collection to which this asset belongs
collection: collectionSchema,
// Name of this asset
name: string,
// The asset's token ID
token_id: string,
// The asset's contract address
token_address: string,
// Address of the user who owns this asset
owner: string,
// Description of this asset
description?: string,
...
}
The Asset is the minimal type you need for most marketplace actions. The following call will retrieve all Assets from a specific assetContract: