It's is possible to track by API, if block was forked/orphaned? Will be glad to see some example.

  • there is term block confirmations, that's how many blocks you should wait in order to archive finality. In ethereum ~8-12 blocks are used now in order to call a final block. If it disappears, then it was forked
    – rstormsf
    May 23, 2018 at 22:57

1 Answer 1


Blocks do not fork, the chain forks. If a block is orphaned it is discarded when a reorg is done, so you can know it only if your node received that block and you was online during the reorg, but it will not always be the case. And in any case there's no specific API to know it (even though the new web3 is working to make easy to understand if a transaction was removed from the main chain due a reorg).

With specific API you can get the uncles, essentially certified orphaned blocks that sometimes are included in the chain by miners.

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.