Get Collections
Use this method to get metadata of multiple collections at the same time.
Usage in your script
Member Functions
.Initialize()
destroyAtEnd
bool
Optional
defines if this component will be destroyed after .Run()
.SetParameters()
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
.filter()
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
.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.
Last updated