public ForkId forkId() {
    return status().forkId;
  }
Return The fork id of the network the associated node is participating in.

@return The fork id of the network the associated node is participating in.
ethereum/eth/src/main/java/org/hyperledger/besu/ethereum/eth/messages/StatusMessage.java