GetUnclaimedFee
GetUnclaimedFee returns the unclaimed fees for both tokens of a position as decimal strings.
Parameters:
- positionId: position NFT token ID whose unclaimed fees are queried
Returns:
- fee0: unclaimed token0 fee amount, represented as a decimal string
- fee1: unclaimed token1 fee amount, represented as a decimal string
- err: non-nil when positionId or the associated pool fee-growth data cannot be resolved
Command
gnokey query vm/qeval -remote "http://127.0.0.1:26657" -data "gno.land/r/gnoswap/position.GetUnclaimedFee()"
Result