GetIncentiveTotalRewardAmount
GetIncentiveTotalRewardAmount returns the total reward amount of an incentive.
Parameters:
- poolPath: Pool path containing the incentive record.
- incentiveId: External incentive identifier to resolve.
Returns:
- amount: Total reward amount configured when the incentive was created, 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.GetIncentiveTotalRewardAmount(,)"
Result