why the two ways to get blockhash is not same ?

enter image description here

1 Answer 1


Maybe it's because your chain is producing blocks now.

I think you can get the same result by specifying the block number.

This RPC is always get the latest block if you didn't specify the block number.

  • Can you update your question? How to reproduce this?
    – AurevoirXavier
    Commented Mar 16, 2023 at 10:03
  • oh, this problem solve
    – Rose
    Commented Mar 16, 2023 at 11:07
  • @Rose if this was the answer to your question, you can mark it as the solution. Otherwise, please post the answer to your problem yourself.
    – Shawn Tabrizi
    Commented Mar 16, 2023 at 19:02

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.