GetTotalDelegationAmountAtSnapshot
GetTotalDelegationAmountAtSnapshot returns total delegation at a Unix timestamp, using the latest history entry at or before that timestamp. The lookup is timestamp-based rather than a block-height snapshot. Parameters:
- snapshotTime: Unix timestamp at or before which to select the latest aggregate delegation history entry.
Returns:
- int64: aggregate delegated amount recorded at or before snapshotTime.
- bool: true when a qualifying history entry exists; false when no entry is available.
Command
gnokey query vm/qeval -remote "http://127.0.0.1:26657" -data "gno.land/r/gnoswap/gov/staker.GetTotalDelegationAmountAtSnapshot()"
Result