GetPool
GetPool returns a copy of the staking state for a pool.
Parameters:
- poolPath: pool realm path
Returns:
- pool: independent pool copy, or nil when an implementation has no pool value
- err: implementation resolution error; the current v1 implementation returns not-found for a missing pool
Command
gnokey query vm/qeval -remote "http://127.0.0.1:26657" -data "gno.land/r/gnoswap/staker.GetPool()"
Result