public Long getChainDataPruningBlocksRetainedLimit() {
    return chainDataPruningBlocksRetainedLimit;
  }
Get the configured number of retained blocks for chain pruning.

@return the number of retained blocks
app/src/main/java/org/hyperledger/besu/cli/options/ChainPruningOptions.java