public Difficulty getTotalDifficulty() {
    return totalDifficulty;
  }
@param header The block header
@param transactions Block transactions in generic format
@param ommers Block ommers in generic format
@param totalDifficulty The cumulative difficulty up to and including this block
@param size The size of the rlp-encoded block (header + body).
ethereum/api/src/main/java/org/hyperledger/besu/ethereum/api/query/BlockWithMetadata.java