🌈
Get Items
Use this method to get metadata of multiple Items at the same time.
GetItems
.Initialize(destroyAtEnd: true)
.SetParameters(
perPage: "20",
page: "1",
sortBy: "name",
sortDir: "asc"
)
.filter( //optional
collectionAddress:"0x41..A"
)
.OnError(error => Debug.Log(error))
.OnComplete(result=> Debug.Log(result))
.Run();
.Initialize()
Parameter | Type | Required | Description |
---|---|---|---|
destroyAtEnd | bool | Optional | defines if this component will be destroyed after .Run() |
.SetParameters()
Parameter | Type | Required | Description |
---|---|---|---|
wallet_address | String | Yes | Unique wallet address of user |
.filter()
Parameter | Type | Required | Description |
---|---|---|---|
name | String | Optional | filter by Item name |
collectionAddress | String | Optional | filter by Item collection address |
chainId | String | Optional | filter by Item chainId |
creatorAddress | String | Optional | filter by Item creator address |
holders | String | Optional | filter by Item collection holder |
isVerified | bool | Optional | filter if Item is verified by Altura |
supply | String | Optional | filter by Item collection supply |
.onError()
Action on Error: returns error information.
.onComplete()
.Run()
Runs the API call and fills the corresponding model in the component on success.
Last modified 9mo ago