GetAccrualBuckets
GetAccrualBuckets returns up to limit of the oldest pending buckets of tokenPath without clearing them. A limit of zero or less returns every pending bucket.
Parameters:
- tokenPath: token contract path whose pending GovStaker accrual buckets are queried
- limit: maximum number of oldest buckets to return; zero or negative returns all pending buckets
Returns:
- epochs: selected accrual epoch numbers in ascending epoch order
- amounts: GovStaker fee amounts corresponding positionally to epochs, in token base units
Command
gnokey query vm/qeval -remote "http://127.0.0.1:26657" -data "gno.land/r/gnoswap/protocol_fee.GetAccrualBuckets(,)"
Result