🗂️Get Collections
Last updated
Last updated
Use this method to get metadata of multiple collections at the same time.
.Initialize()
Parameter | Type | Required | Description |
---|---|---|---|
.SetParameters()
.filter()
.onError()
Action on Error: returns error information.
.onComplete()
Action on successful: returns Auth_model
type.
.Run()
Runs the API call and fills the corresponding model in the component on success.
Parameter | Type | Required | Description |
---|---|---|---|
Parameter | Type | Required | Description |
---|---|---|---|
destroyAtEnd
bool
Optional
defines if this component will be destroyed after .Run()
perPage
String
Optional
The number of collections to return
page
String
Optional
The offset for returned collections. Calculated as (page - 1) * perPage
sortBy
String
Optional
The field to sort the collections by (any field in the collection schema may be used)
sortDir
String
Optional
Choose to sort in ascending (asc) or descending (desc) order
isVerified
Bool
Optional
filter if collection is verfied by Altura
address
String
Optional
filter by collection address
chainId
String
Optional
filter by chainId
name
String
Optional
filter by collection name
holders
String
Optional
filter by amount of holders