GetPoolPositions
GetPoolPositions returns a read-only view of a pool's positions, keyed by position key. nil is returned when the pool does not exist. Parameters:
- poolPath: Canonical pool path identifying the pool whose positions are read.
Returns:
- *rotree.ReadOnlyTree: Read-only tree keyed by position key; nil when the pool does not exist.
Command
gnokey query vm/qeval -remote "http://127.0.0.1:26657" -data "gno.land/r/gnoswap/pool.GetPoolPositions()"
Result