GetCurrentVotingWeightSnapshot
GetCurrentVotingWeightSnapshot returns the current total voting weight and its timestamp anchor computed with the configured smoothing duration.
Returns:
- int64: total voting weight averaged over the configured smoothing window
- int64: Unix timestamp used as the snapshot history anchor
- error: nil on success, or an error when the current configuration or snapshot data cannot be retrieved
Command
gnokey query vm/qeval -remote "https://rpc.gno.land" -data "gno.land/r/gnoswap/gov/governance.GetCurrentVotingWeightSnapshot()"
Result