Aller au contenu principal
Version: Next

chain_id/1

Description

chain_id/1 is a predicate which unifies the given term with the current chain ID. The signature is:

The signature is as follows:

chain_id(?ID)

where:

  • ID represents the current chain ID at the time of the query.

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