usePrepareTorqWorkflow
React Query mutation hook for workflow preparation.
| Package | @torq-finance/react |
|---|---|
| Signature | usePrepareTorqWorkflow(client, options?) |
Behavior
Creates a mutation that delegates to client.workflows.prepare and preserves the SDK’s idempotency behavior.
See the API Reference for the governed endpoint contract and the workflow guide for canonical completion semantics.