After calling the RPC method getblock. How can I get the confirmation time of this block in the genblock method?


1 Answer 1


If you look at any block there's usually a timestamp.set extrinsic that contains the time that the block was proposed by the collator.

For example:


The time is in unix epoc time (seconds since 1/1/1970). You can translate it manually using a website, but all programming languages will convert from that format too.

Your Answer

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

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