client.workflows.prepare
- Package
@torq-finance/sdk- Signature
client.workflows.prepare(request, { idempotencyKey? })
Behavior
Creates an explicit workflow with ordered transaction intents, snapshot hash, expiry, preflight requirements, blocked reasons, and expected postconditions.
Example
const workflow = await torq.workflows.prepare({
workflowType: 'role.vault_owner.vaultAllocatorUpdate',
chainId: 11155111,
input: allocationInput,
});Security boundary
State-changing preparation uses an idempotency key. Never submit an arbitrary contract call in place of a registered workflow type.
Complete typed workflow catalogue
This table is rendered from the same generated capability-method registry imported by the SDK. Presence documents a maintained adapter; it does not grant the calling application or wallet that role, scope, entity authority, or production access.
Allocator
Asset Issuer
Asset Manager
Borrower
Curator
Investor
Lender
Liquidator
Nav Reporter
Partner
Vault Manager
Vault Owner
See the API Reference for the governed endpoint contract and the workflow guide for canonical completion semantics.