0

I'm hoping to have some client side javascript run that will do some simple timing estimates based on the current block number. Is there a simple way to do this that doesn't require web3? I don't need access to any other data from the blockchain.

1 Answer 1

1

There's JSON-RPC API. In particular querying a provider eth_blockNumber should return the current block number.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.