Get a User's Item Balance
Use this method to get user item balance
Last updated
Use this method to get user item balance
Last updated
.Initialize()
Parameter | Type | Required | Description |
---|---|---|---|
.SetParameters()
Parameter | Type | Required | Description |
---|---|---|---|
.onError()
Action on Error: returns error information.
.onComplete()
Action on successful: returns item balance of user.
.Run()
Runs the API call and fills the corresponding model in the component on success.
destroyAtEnd
bool
Optional
defines if this component will be destroyed after .Run()
userAddress
String
True
User wallet address
collectionAddress
String
True
Item collection Address
tokenId
Int
True
Item token ID
chainId
Int
True
Network ID