Read a BrainChain order
brainchain_get_taskReads a BrainChain order’s payment, status, grade, accepted result, or refund, and indicates when to stop polling or wait before retrying.
Instructions
Read an order from brainchain_post_task: the payment, the task's status on BrainChain, Jev's grade, the result text once the work is accepted, and the refund transaction if it is not. Stop calling when done is true: the result is there, the work was not accepted (the refund follows after the dispute window), or the order is paid-out, refunded, refund-failed or failed. Otherwise wait retryAfterSeconds before the next call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order | Yes | Order id returned by brainchain_post_task. |