Get a User's ERC20 Balance
Last updated
Last updated
Get ERC20 balance of user
.Initialize()
Parameter | Type | Required | Description |
---|---|---|---|
.SetParameters()
Parameter | Type | Required | Description |
---|---|---|---|
.onError()
Action on Error: returns error information.
.onComplete()
Action on successful: returns ERC20 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()
tokenAddress
String
Yes
the token contract address
chainId
String
Yes
The chain id
userAddress
String
Yes
address of user