GetIncentiveRewardAmount
GetIncentiveRewardAmount returns the remaining reward amount of an incentive, after deliveries and refunds represented by the current incentive state.
Parameters:
- poolPath: Pool path containing the incentive record.
- incentiveId: External incentive identifier to resolve.
Returns:
- amount: Independent uint256 copy of the incentive's mutable remaining reward amount.
- 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.GetIncentiveRewardAmount(,)"
Result