getDuration

open fun getDuration(): Long

Gets the duration of the block in milliseconds.

Return

the duration.