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 "https://rpc.gno.land" -data "gno.land/r/gnoswap/staker.GetDepositLiquidityAsString()"
Result