🖼
Get User's Items
Use this method to get the items of a specific user.
GetUsersItems
.Initialize(destroyAtEnd: true)
.SetAddress(
account_address: "0x..."
)
.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 |
---|---|---|---|
account_address | String | Yes | Unique wallet address of user |
.filter()
Parameter | Type | Required | Description |
---|---|---|---|
name | String | Optional | Filter by the item name |
collectionAddress | String | Optional | Filter by the item collection address |
chainId | String | Optional | Filter by the item chain id |
creatorAddress | String | Optional | Filter by the item creator |
fileType | String | Optional | Filter by the item file type |
isVerified | Bool | Optional | Filter if the item is verfied by Altura |
.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