GetIncentiveRemainingRewardAmount
GetIncentiveRemainingRewardAmount returns the remaining reward amount of an incentive.
Parameters:
- poolPath: Pool path containing the incentive record.
- incentiveId: External incentive identifier to resolve.
Returns:
- amount: Mutable reward balance remaining after distributions and refunds, 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.GetIncentiveRemainingRewardAmount(,)"
Result