public long getGasUsed() {
    return gasUsed;
  }
Returns the total gas consumed by the executing the block.

@return the total gas consumed by the executing the block
ethereum/core/src/main/java/org/hyperledger/besu/ethereum/core/SealableBlockHeader.java