GetPoolIncentives
GetPoolIncentives returns a read-only view of a pool's external incentives, keyed by incentive ID. Reading an entry yields a clone, so the view cannot mutate realm state.
Parameters:
- poolPath: Pool path whose external-incentive records should be read.
Returns:
- incentives: Read-only tree keyed by incentive ID with cloned entries, 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.GetPoolIncentives()"
Result