Skip to main content

GET /intent//step//status

Returns the status of a specific chain batch (step) for an intent. If the step is in created state, the server triggers execution asynchronously. If the step is success or reverted, the server also triggers the next step.

Endpoint

GET /intent/{intentId}/step/{stepId}/status

Path Parameters

ParameterTypeRequiredDescription
intentIdstringYesThe unique intent identifier
stepIdnumberYesThe chain batch index [0, n) for this intent

Response

Success Response (200)

{
  "success": true,
  "data": {
    "status": "created | executing | success | reverted | error",
    "transactionHash": "0x...",
    "intentId": "0x..."
  }
}
  • transactionHash is present when available (e.g., after a transaction is sent).

Not Found (404)

{
  "success": false,
  "error": { "message": "Chain authorization step not found" }
}

Notes

  • When status is created, the server will start execution for this step in the background.
  • When status is success or reverted, the server will attempt to execute the next step.
  • Use this endpoint to poll for progress between executions.