@Test
  public void shouldContainBlobGasUsedAndBlobGasPriceWhenBlobTransaction() {

    var hash = Hash.wrap(Bytes32.random());
    mockBlockWithBlobTransaction(hash, 1L);
    when(blockchain.getTxReceipts(hash)).thenReturn(Optional.of(List.of(statusReceipt)));
    // Call the real method to get the transaction receipt by transaction hash
    when(blockchainQueries.transactionReceiptByTransactionHash(receiptHash, protocolSchedule))
        .thenCallRealMethod();

    final JsonRpcSuccessResponse response =
        (JsonRpcSuccessResponse) ethGetTransactionReceipt.response(request);
    final TransactionReceiptStatusResult result =
        (TransactionReceiptStatusResult) response.getResult();

    assertThat(result.getType()).isEqualTo("0x3");
    assertThat(result.getBlobGasUsed()).isEqualTo("0x20000");
    assertThat(result.getBlobGasPrice()).isEqualTo("0x1");
  }
Test case to verify that the TransactionReceiptStatusResult contains blob gas used and blob gas
price when the transaction type is TransactionType#BLOB
ethereum/api/src/test/java/org/hyperledger/besu/ethereum/api/jsonrpc/internal/methods/EthGetTransactionReceiptTest.java