private static List<TransactionResult> createFullTransactionResults(final Block block) {
    return block.getBody().getTransactions().stream()
        .map(
            transaction ->
                new TransactionWithMetadata(
                    transaction,
                    block.getHeader().getNumber(),
                    block.getHeader().getBaseFee(),
                    block.getHash(),
                    block.getBody().getTransactions().indexOf(transaction)))
        .map(TransactionCompleteResult::new)
        .collect(Collectors.toList());
  }
Generates a list of {@link TransactionResult} objects with full transaction details for each
transaction in the block.

@param block the block containing the transactions
@return a list of {@link TransactionResult} objects with full transaction details
ethereum/api/src/main/java/org/hyperledger/besu/ethereum/api/jsonrpc/internal/results/BlockStateCallResult.java