class TransactionResource {

    @ApiOperation("Delete single transaction from P2PRestApp node")
    @ApiResponses({
        @ApiResponse(code = 204, message = "Successful deletion"),
        @ApiResponse(code = 404, message = "If the entity doesn't exist")
    })
    @DELETE
    @Path("/transaction/{key}")
    public Response deleteKey(@ApiParam("Encoded hash") @PathParam("key") final String key) {

        LOGGER.debug("Received delete key request");

        Base64.Decoder base64Decoder = Base64.getDecoder();
        MessageHash messageHash = new MessageHash(base64Decoder.decode(key));

        transactionManager.delete(messageHash);

        return Response.noContent().build();
    }

    public  TransactionResource(TransactionManager transactionManager);

}