GetLiquidity
GetLiquidity returns the current liquidity in the pool. Parameters:
- poolPath: Canonical pool path identifying the pool whose liquidity is read.
Returns:
- string: Current pool liquidity, serialized as a base-10 unsigned integer.
- error: Non-nil when poolPath does not identify an existing pool.
Command
gnokey query vm/qeval -remote "http://127.0.0.1:26657" -data "gno.land/r/gnoswap/pool.GetLiquidity()"
Result