pendingRewards()
This function is in the StandardRewards.sol contract.
Last updated
This function is in the StandardRewards.sol contract.
Last updated
This function is used to check the pending rewards for an address.
The indicated rewards programs must have the same token as their reward.
Name | Type | Description |
---|---|---|
This function gets the number of pending rewards for an address for each of the indicated rewards programs.
Variable Type | Returns |
---|---|
Example response:
uint256 : 4033607631980985925
provider
address
The address to check.
ids
uint256[]
The list of reward program IDs to check.
uint256
The number of pending rewards.