GetIncentiveRewardAmountAsString
GetIncentiveRewardAmountAsString returns the remaining reward amount of an incentive as string.
Parameters:
- poolPath: Pool path containing the incentive record.
- incentiveId: External incentive identifier to resolve.
Returns:
- amount: Decimal string for the incentive's remaining reward amount after deliveries and refunds.
- 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.GetIncentiveRewardAmountAsString(,)"
Result