GetDepositLiquidityAsString
GetDepositLiquidityAsString returns the liquidity amount of a staked position as a decimal string.
Parameters:
- lpTokenId: Position NFT token ID whose liquidity should be formatted.
Returns:
- liquidity: Decimal representation of the deposit's uint256 liquidity amount.
- 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.GetDepositLiquidityAsString()"
Result