block_height/1
Description
block_height/1
is a predicate which unifies the given term with the current block height.
The signature is as follows:
block_height(?Height)
where:
- Height represents the current chain height at the time of the query.
Examples
# Query the current block height.
- block_height(Height).