pendingRewards()

This function is in the StandardRewards.sol contract.

Function pendingRewards()

StandardRewards.sol
 function pendingRewards(address provider, uint256[] calldata ids) external view uniqueArray(ids) returns (uint256)

This function is used to check the pending rewards for an address.

The indicated rewards programs must have the same token as their reward.

Function Arguments

Return Variables

This function gets the number of pending rewards for an address for each of the indicated rewards programs.

Example response:

uint256 : 4033607631980985925

Last updated