Interface

AssetListResponse

AssetListResponse

Properties:
Name Type Description
id number

unique ID of the individual asset

publicId string

The public ID of the Asset NFT

name string

Name of the Asset

description string

Description about the assets

collectionId number

The ID of the collection that own assets

uri string

The url of the NFTs

assetType string

For example (ALL / NON_SALE / FOR_SALE)

imageUrl string

The image (avatar) of the asset NFTs

metadata Object

The structure of metadata schema (key/value[])

tokenAddress string

The smart contract address of the collection

metadataOptional Object

Fields are not defined on the metadata schema would be manage by Metadata Optional

creator.name string

Name of the project that the collection is belonging to

creator.starkKey string

Stark key of the creator

owner string

The owner stark key

order.id number

The unique ID of the order

order.assetRefId number

The asset reference ID (sequence ID for the asset in database)

order.amountSell string

The quantized amount sell of the assets (it's always 1 if asset is NFT - MINTABLE_ERC721/ERC_721)

order.amountBuy string

The ETH price that owner set for the listing assets (quantized amount)

order.nonQuantizedAmountSell string

The original amount token sell (it's always 1 if asset is NFT - MINTABLE_ERC721/ERC_721)

order.nonQuantizedAmountBuy string

The ETH price that owner set for the listing assets (original amount)

  • For example, if the asset is listing with 2 ETH (nonQuantizedAmountSell = 1, nonQuantizedAmountBuy = 2 ETH)
order.assetIdSell string

The hex string of the token sell (NFT / MINTABLE_ERC721 / ERC721)

order.assetIdBuy string

The hex string of the token buy (ETH / ERC_20 / MYRIA_TOKEN)

order.status string

Status of the order (ACTIVE / INACTIVE)

View Source types/CollectionTypes.ts, line 155