GetDepositCollectedExternalReward
GetDepositCollectedExternalReward returns the collected external reward amount of a position.
Parameters:
- lpTokenId: Position NFT token ID whose collected reward should be read.
- incentiveId: External incentive identifier whose collected amount should be read.
Returns:
- amount: External reward amount already recorded as collected for the incentive, in token units.
- err: Non-nil when lpTokenId does not resolve to a stored deposit.
Command
gnokey query vm/qeval -remote "http://127.0.0.1:26657" -data "gno.land/r/gnoswap/staker.GetDepositCollectedExternalReward(,)"
Result