---
search:
  tags:
    - Operations
    - POST
seo:
  description: >-
    Speeds up or cancels a stuck step with a new attempt at the same nonce, and…
    Reference for the POST /v1/operations/{id}/attempts endpoint in the INVICTUS
    API.
sidebar:
  label: Speed up or cancel a stuck step with the same nonce.
  badge: POST
title: Speed up or cancel a stuck step with the same nonce.
type: openapi-operation
---
Speeds up or cancels a stuck step with a new attempt at the same nonce, and answers a one-item plan to sign.

`POST /v1/operations/{id}/attempts`

**Request body** (`application/json`, required)

- `action` (string, required) — Speed the step up, or cancel it with a zero-value transaction at the same nonce.
- `index` (integer, required) — The step's place in the operation, from 0.

Request body example:

```json
{
  "action": "speed-up",
  "index": 0
}
```

**Responses**

- `200` — Success.
- `400` — Invalid input; \`errors\` names the fields.
- `401` — No session, or it ended.
- `404` — Not found, or not yours.
- `409` — In conflict with the current state.
- `429` — Too many requests; \`retryAfterSeconds\` says when to ask again.
- `500` — Server error.

Response example, 200:

```json
{
  "operation": {
    "id": "Xq3v9Kp2LmN8RtY4",
    "kind": "limit-order",
    "subjects": [
      {
        "type": "pool",
        "id": "string"
      }
    ],
    "chain": "base",
    "wallet": "evm:0x4200000000000000000000000000000000000006",
    "status": "review",
    "review": {
      "hash": "string",
      "builtAt": 1793145600,
      "expiresAt": 1793145600,
      "signer": "embedded",
      "private": true,
      "stepUpRequired": true,
      "mfaRequired": true,
      "walletBusy": {
        "operationId": "Xq3v9Kp2LmN8RtY4"
      },
      "transactions": [
        {
          "index": 0,
          "step": "approve",
          "chain": "base",
          "signingPayload": {
            "format": "evm-call",
            "to": "string",
            "data": "string",
            "value": "1500000",
            "maxNetworkFee": "1500000"
          },
          "decoded": [
            {
              "label": "string",
              "token": {
                "chain": "base",
                "address": "string",
                "symbol": "string",
                "name": "string",
                "logo": "string",
                "decimals": 0
              },
              "units": "1500000",
              "to": "string"
            }
          ]
        }
      ],
      "pays": [
        {
          "token": {
            "chain": "base",
            "address": "string",
            "symbol": "string",
            "name": "string",
            "logo": "string",
            "decimals": 0
          },
          "units": "1500000",
          "valueUsd": {
            "status": "exact",
            "value": "1234.56",
            "observedAt": 1793145600
          }
        }
      ],
      "receives": [
        {
          "token": {
            "chain": "base",
            "address": "string",
            "symbol": "string",
            "name": "string",
            "logo": "string",
            "decimals": 0
          },
          "units": "1500000",
          "valueUsd": {
            "status": "exact",
            "value": "1234.56",
            "observedAt": 1793145600
          }
        }
      ],
      "minimum": [
        {
          "token": {
            "chain": "base",
            "address": "string",
            "symbol": "string",
            "name": "string",
            "logo": "string",
            "decimals": 0
          },
          "units": "1500000",
          "valueUsd": {
            "status": "exact",
            "value": "1234.56",
            "observedAt": 1793145600
          }
        }
      ],
      "approvals": [
        {
          "token": {
            "chain": "base",
            "address": "string",
            "symbol": "string",
            "name": "string",
            "logo": "string",
            "decimals": 0
          },
          "spender": "string",
          "units": "1500000",
          "via": "direct"
        }
      ],
      "bounds": {
        "slippagePercent": "1234.56",
        "priceImpactPercent": {
          "status": "exact",
          "value": "1234.56",
          "observedAt": 1793145600
        },
        "maxLossPercent": "1234.56"
      },
      "fees": {
        "networkUsd": {
          "status": "exact",
          "value": "1234.56",
          "observedAt": 1793145600
        },
        "platformFeeUsd": {
          "status": "exact",
          "value": "1234.56",
          "observedAt": 1793145600
        },
        "swapFeeUsd": {
          "status": "exact",
          "value": "1234.56",
          "observedAt": 1793145600
        },
        "rentUsd": {
          "status": "exact",
          "value": "1234.56",
          "observedAt": 1793145600
        },
        "tipUsd": {
          "status": "exact",
          "value": "1234.56",
          "observedAt": 1793145600
        },
        "discountUsd": {
          "status": "exact",
          "value": "1234.56",
          "observedAt": 1793145600
        }
      },
      "blocks": [
        {
          "code": "string",
          "reason": "string"
        }
      ],
      "acknowledgements": [
        {
          "id": "string",
          "text": "string"
        }
      ],
      "warnings": [
        "string"
      ],
      "dustNote": "string"
    },
    "awaiting": {
      "index": 0
    },
    "txHash": "string",
    "confirmations": 0,
    "includedAt": "string",
    "summary": "string",
    "detail": {
      "amounts": [
        {
          "token": {
            "chain": "base",
            "address": "string",
            "symbol": "string",
            "name": "string",
            "logo": "string",
            "decimals": 0
          },
          "units": "-1500000"
        }
      ],
      "valueUsd": {
        "status": "exact",
        "value": "1234.56",
        "observedAt": 1793145600
      }
    },
    "steps": [
      {
        "index": 0,
        "step": "approve",
        "status": "waiting",
        "txHash": "string"
      }
    ],
    "order": {
      "state": "unplaced",
      "filledPercent": "1234.56",
      "side": "buy",
      "atUsd": "1234.56",
      "inputBasis": "price"
    },
    "error": {
      "code": "string",
      "message": "string"
    },
    "source": "chain",
    "createdAt": 1793145600,
    "submittedAt": 1793145600,
    "updatedAt": 1793145600
  },
  "toSign": [
    {
      "index": 0,
      "step": "approve",
      "chain": "base",
      "from": "string",
      "signBy": 1793145600,
      "sendAfter": 0,
      "format": "evm-tx",
      "evmTx": {
        "chainId": 1,
        "type": 0,
        "nonce": 0,
        "to": "string",
        "data": "string",
        "value": "1500000",
        "gas": "1500000",
        "maxFeePerGas": "1500000",
        "maxPriorityFeePerGas": "1500000",
        "gasPrice": "1500000"
      },
      "unsignedHash": "string"
    }
  ],
  "signBy": 1793145600
}
```
