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