Get User
Use this method to get a user's metadata, such as the name, bio, social link, etc.
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 | Unique wallet address of user |
.onError()
Action on Error: returns error information.
.onComplete()
Action on successful: returns User_model
type.
.Run()
Runs the API call and fills the corresponding model in the component on success.
Last updated