---
updatedAt: 2025-09-09T22:47:37.000Z
agentTools:
  projectIndex: https://docs.brink.trade/llms.txt
---

# Cancel Intent (with signature)

Get a transaction to cancel a nonce using a signed cancel function call. This transaction can be called by any address.

# OpenAPI definition

```json
{
  "info": {
    "title": "API",
    "version": "1.0.0"
  },
  "openapi": "3.0.0",
  "servers": [
    {
      "description": "Production server",
      "url": "https://api.brink.trade"
    }
  ],
  "paths": {
    "/intents/cancelWithSignature/v1": {
      "get": {
        "summary": "Cancel Intent (with signature)",
        "description": "Get a transaction to cancel a nonce using a signed cancel function call. This transaction can be called by any address.",
        "tags": [
          "Intents"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/chainIdQueryParam"
          },
          {
            "$ref": "#/components/parameters/signerQueryParam"
          },
          {
            "$ref": "#/components/parameters/nonceQueryParam"
          },
          {
            "$ref": "#/components/parameters/signatureQueryParam"
          }
        ],
        "security": [
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "ok",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "bitUsed": {
                      "type": "boolean",
                      "example": true
                    },
                    "bytes": {
                      "type": "string",
                      "example": "0x0000000..."
                    },
                    "success": {
                      "type": "boolean",
                      "example": false
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Validation error"
          },
          "500": {
            "description": "Internal server error"
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "apiKeyAuth": {
        "type": "apiKey",
        "in": "header",
        "name": "X-API-KEY"
      }
    },
    "parameters": {
      "nonceQueryParam": {
        "in": "query",
        "required": true,
        "name": "nonce",
        "description": "The nonce of the intent",
        "example": "1",
        "schema": {
          "type": "string"
        }
      },
      "signatureQueryParam": {
        "in": "query",
        "required": true,
        "name": "signature",
        "description": "signature param",
        "schema": {
          "type": "string"
        },
        "example": "0xb4eda1b2f48da520a083b1c2c64eae4b2d3d8031a6787907f69ee22d158b50e4757a31a7e66bbd13f86e864a0396a8578cbd7bf693d54b5331008d0725e4c5d31c"
      },
      "signerQueryParam": {
        "in": "query",
        "name": "signer",
        "description": "The signer address",
        "example": "0x47A3D46D7C41EAE1238DB631C7A97FB66A62D304",
        "schema": {
          "type": "string"
        }
      },
      "chainIdQueryParam": {
        "in": "query",
        "name": "chainId",
        "required": true,
        "description": "Chain Id to use",
        "schema": {
          "type": "integer",
          "enum": [
            1,
            10,
            137,
            8453,
            42161
          ]
        }
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```