Estimate block height
How to estimate the block height at a given timestamp
Download Agoric's block estimator
git clone https://github.com/Agoric/estimator.git && \
cd estimatorEstimate a datetime's block height
go run main.go \
-date "May 13, 2024 12:00PM GMT" \
-votingPeriod 48h \
-rpc https://rpc.nibiru.fi:443 \
-samples 1000010000 samples should be good enough to get a close enough estimate. It should take less than 10 minutes to run.
Estimate a block height's datetime
go run main.go \
-height 100 \
-rpc https://rpc.nibiru.fi:443 \
-samples 10000Last updated
Was this helpful?