GetPositionLiquidity
GetPositionLiquidity returns the liquidity of a position. Parameters:
- poolPath: Canonical pool path identifying the pool containing the position.
- key: Position key identifying the position within the pool.
Returns:
- string: Position liquidity, serialized as a base-10 unsigned integer.
- error: Non-nil when the pool or position key cannot be found.
Command
gnokey query vm/qeval -remote "http://127.0.0.1:26657" -data "gno.land/r/gnoswap/pool.GetPositionLiquidity(,)"
Result