🖼️Get Item
Use this method to get the metadata of an item.
Usage in your script
Member Functions
.Initialize()
Parameter | Type | Required | Description |
---|---|---|---|
| bool | Optional | defines if this component will be destroyed after |
.SetParameters()
Parameter | Type | Required | Description |
---|---|---|---|
| String | Yes | The item's collection address |
| Int | Yes | The item's tokenId |
.onError()
Action on Error: returns error information.
.onComplete()
Action on successful: returns Items_model
type.
.Run()
Runs the API call and fills the corresponding model in the component on success.
Last updated