This query loads the items within a collection.
General Pattern
{
items (offset: Int limit: Int statuses: MarketplaceCollectionItemStatus!){
field_1
field_1{
nested_field_1
...
}
}
}
Sample query
query{
collection(id:"1fbd6e93-02f0-440b-a29b-fa0adc1950da"){
items(offset:0
limit:1
statuses:Preview){
id
marketplaceTokenId
collectionId
saleType
name
slug
}
}
}
Sample response
{
"data": {
"collection": {
"items": []
}
}
}
Arguments
Name | Type | Description | Required |
---|---|---|---|
offset | Integer | The minimum amount of the displayed results. | Yes |
limit | Integer | The maximum amount of the displayed results. | Yes |
statuses | Enum | Contains information from MarketplaceCollectionItemStatus | Yes |
Fields
Name | Type | Description |
---|---|---|
MarketplaceCollectionItem | Object | Contains information from [MarketplaceCollectionItem ] (https://developers.mojito.xyz/reference/marketplacecollectionitem) |
Example
Load the collection item by the collection ID: