GetEmissionAmountPerSecondInRange
GetEmissionAmountPerSecondInRange returns paired emission-rate change points whose timestamps fall within the requested range.
Parameters:
- fromTime: inclusive Unix timestamp lower bound
- toTime: inclusive Unix timestamp upper bound; a lower value yields nil slices
Returns:
- timestamps: schedule timestamps in the range where the rate changes, including the post-end zero-rate point when applicable
- amounts: GNS base units emitted per second at each corresponding timestamp; same length and order as timestamps
Command
gnokey query vm/qeval -remote "http://127.0.0.1:26657" -data "gno.land/r/gnoswap/gns.GetEmissionAmountPerSecondInRange(,)"
Result