GET /makers/status/:makersId
Poll order status. Poll while status is PENDING_PAYMENT or
RUNNING.
Path params
| Param | Required | Description |
|---|---|---|
makersId | yes | From /makers/initialize. |
Response 200
PENDING_PAYMENT:
{
"makersId": "6731…",
"eSpeed": "NORMAL",
"sEstimatedDuration": "10h",
"sMakersEstimate": "up to 20K",
"nRequiredSol": 1.25,
"sTokenAddress": "…",
"sTokenNameAndSymbol": "MyToken (MTK)",
"sPoolId": "…",
"ePoolChosen": "PUMPSWAP",
"status": "PENDING_PAYMENT",
"paymentAddress": "…"
}
RUNNING / COMPLETED: the same order fields without
paymentAddress, plus progress:
{
"makersId": "6731…",
"status": "RUNNING",
"nMakersCreated": 4210,
"…": "…"
}
CANCELLED: the order fields with "status": "CANCELLED".
status | Meaning |
|---|---|
PENDING_PAYMENT | Waiting for SOL at paymentAddress. |
RUNNING | Paid and trading. |
COMPLETED | Finished. |
CANCELLED | Cancelled before payment. |
nMakersCreated is the number of makers created so far.
Errors
| Status | Meaning |
|---|---|
400 | Invalid makersId. |
404 | Order not found or not owned. |
Example
curl "$BASE_URL/makers/status/6731…" \
-H "Authorization: Bearer $ACCESS" \
-H "x-user-id: $USER_ID"