chain_id_1Version: v10.0.0On this pagechain_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. Examples # Query the current chain ID.- chain_id(ID).