Track the status of async operations like collection creation, token minting, and contract deployment.
Methods
getWorkflowStatus()
Get the status and result of an async workflow.
Signature:
Parameters:
| Parameter | Type | Required | Description |
|---|
workflowId | string | Yes | Workflow ID |
Example:
Response:
Workflow Status Values
- RUNNING: Operation is in progress
- COMPLETED: Operation completed successfully
- FAILED: Operation failed (check error details)
- TERMINATED: Operation was terminated
Complete Example
Polling Strategy: Implement exponential backoff for production applications to avoid excessive API calls while waiting for workflows to complete.