GetIncentiveDistributedRewardAmount
GetIncentiveDistributedRewardAmount returns the distributed reward amount of an incentive.
Parameters:
- poolPath: Pool path containing the incentive record.
- incentiveId: External incentive identifier to resolve.
Returns:
- amount: Reward amount already delivered to positions or refunded at incentive end, in token units.
- err: Non-nil when poolPath or incentiveId cannot be resolved.
Command
gnokey query vm/qeval -remote "http://127.0.0.1:26657" -data "gno.land/r/gnoswap/staker.GetIncentiveDistributedRewardAmount(,)"
Result