reconcileOperation
Recheck chain evidence before releasing intermediate outputs from an interrupted operation.
Import
ts
import { reconcileOperation } from "@0xcurvy/curvy-sdk/actions";Usage
ts
const result = await reconcileOperation({ operationId, config });Signature
ts
function reconcileOperation(parameters: ReconcileOperationParameters): Promise<ReconcileOperationResult>Returns
Promise<ReconcileOperationResult>
The action resolves or returns the value shown in the signature.
Parameters
operationId
- Type:
string - Required: yes
The interrupted operation whose chain evidence is rechecked.
ts
const result = await reconcileOperation({
operationId,
});accountId
- Type:
string - Required: no
The account that owns the operation. Defaults to the active account.
ts
const result = await reconcileOperation({
operationId,
accountId,
});signal
- Type:
AbortSignal - Required: no
Aborts the chain reads.
ts
const result = await reconcileOperation({
operationId,
signal,
});config
- Type:
CurvyConfig - Required: no
Curvy config to use. Defaults to the ambient config.
ts
const result = await reconcileOperation({
operationId,
config,
});Errors
Errors from config resolution and the underlying SDK operation are propagated to the caller.
Related
Source
packages/@0xcurvy/sdk/src/actions/views/reconcileOperation.ts