Skip to content

Chain attributes#

Chain attributes are defined in the chain attribute space (short name c). Chain attributes may only match chain nodes.

The following chain attributes are available in NSL:

Attribute name Short name Possible values Examples
chainID id == 1


The chain.chainID attribute (short name matches chains with specific chain ID.

Possible values: integers.


  • chain.chainID == 1 (short version: == 1): matches all chains with chain ID equal to 1
  • chain.chainID >= 2 and chain.chainID <= 4 (short version: >= 2 and <= 4): matches all chains with chain ID between 2 and 4