Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding more details to processProtectedData #122

Merged
25 changes: 23 additions & 2 deletions tools/dataProtector/dataProtectorCore/processProtectedData.md
Original file line number Diff line number Diff line change
Expand Up @@ -296,11 +296,32 @@ Identifies the specific deal associated with this transaction.
`string`

A unique identifier associated with a task currently running on the iExec
Bellecour side chain. You may monitor task execution with the
Bellecour side chain. You can monitor task execution using the
[iExec blockchain explorer](https://explorer.iex.ec).

::: tip

The
[getResultFromCompletedTask()](../dataProtectorSharing/consume/getResultFromCompletedTask.md)
function allows you to retrieve the result of a completed task using its
`taskId`.

ErwanDecoster marked this conversation as resolved.
Show resolved Hide resolved
:::

### result

`ArrayBuffer`

The actual content of the protected file.
The result is a ZIP file containing at least one mandatory file:

- **computed.json**: This file contains metadata about the computation performed
by the application.
- additional files may be included depending on the dapp used.

::: info

In the case of the **Content Creator Delivery DApp**, the ZIP file will also
include a file named **content**, which corresponds to the protected data
processed during the task.

:::
Loading