GetPoolRewardCaches
GetPoolRewardCaches returns a read-only view of a pool's reward cache, keyed by the encoded block timestamp. Callers paginate it themselves through IterateByOffset and decode keys with DecodeInt64.
Parameters:
- poolPath: Pool path whose reward-cache checkpoints should be read.
Returns:
- caches: Read-only tree of timestamp keys to cached reward values, or nil when poolPath has no pool.
Command
gnokey query vm/qeval -remote "http://127.0.0.1:26657" -data "gno.land/r/gnoswap/staker.GetPoolRewardCaches()"
Result