Aller au contenu principal
Version: v11.0.0

block_height/1

Description

block_height/1 is a predicate which unifies the given term with the current block height.

Signature

block_height(?Height) is det

where:

  • Height represents the current chain height at the time of the query.

Deprecated: Use the `block_header/1` predicate instead.