Currently testing reCaptcha features, thanks for your patience.

In case your post is accidentally flagged as spam please keep a local copy, sorry for any inconvenience.

Ask Your Question

How do I retrieve information about the nth block to last?

asked 2017-04-23 06:11:14 -0500

tezos gravatar image

How can I retrieve information about the block that is 10 blocks behind the current head of the blockchain?

edit retag flag offensive close merge delete


You can call /blocks/head~10 (following the notation from git)

tezos gravatar imagetezos ( 2017-04-23 06:12:44 -0500 )edit

Similarly, when using `tezos-client`, you might use `./tezos-client -block head~10 ...`

hnrgrgr gravatar imagehnrgrgr ( 2017-05-07 06:25:27 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2018-09-19 13:34:55 -0500

fredcy gravatar image

The current syntax (betanet and beyond) is this:

./tezos-client rpc get /chains/main/blocks/head~10
edit flag offensive delete link more


Thank you for updating the answer!

Tezter gravatar imageTezter ( 2018-09-19 16:12:31 -0500 )edit
Login/Signup to Answer

Question Tools


Asked: 2017-04-23 06:11:14 -0500

Seen: 13,082 times

Last updated: Sep 19 '18