getOperations
Reconstruct durable progress and merge the config's live jobs without exposing proofs or note commitments.
Import
ts
import { getOperations } from "@0xcurvy/curvy-sdk/actions";Usage
ts
const result = await getOperations({ config });Signature
ts
function getOperations(parameters?: GetOperationsParameters): Promise<OperationSnapshot[]>Returns
Promise<OperationSnapshot[]>
The action resolves or returns the value shown in the signature.
Parameters
accountId
- Type:
string - Required: no
The account whose operations are reconstructed. Defaults to the active account.
ts
const result = await getOperations({
accountId,
});config
- Type:
CurvyConfig - Required: no
Curvy config to use. Defaults to the ambient config.
ts
const result = await getOperations({
config,
});Errors
Errors from config resolution and the underlying SDK operation are propagated to the caller.