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