GetDepositLiquidity
GetDepositLiquidity returns the liquidity amount of a staked position.
Parameters:
- lpTokenId: Position NFT token ID whose liquidity should be read.
Returns:
- liquidity: Independent uint256 copy of the deposit's 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.GetDepositLiquidity()"
Result