> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kuru.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Cancel conditional order

> Cancel an active trigger with a newly signed cancellation intent.

Submits the enabled `wallet.cancel_trigger` method. Trigger cancellation uses the unordered one-shot trigger nonce namespace, not the increasing immediate-order nonce.

<Info>The request is a signing template. Replace the wallet, account ID, nonce, deadline, trigger ID, and signature with values generated for the selected network.</Info>

<ParamField body="requestId" type="string" required>New lowercase UUIDv7 for correlation.</ParamField>
<ParamField body="method" type="string" required default="wallet.cancel_trigger">Must be `wallet.cancel_trigger`.</ParamField>
<ParamField body="wallet" type="string" required>Secondary trading EOA that created the trigger and matches the JWT.</ParamField>

<ParamField body="payload" type="object" required>
  Signed cancellation containing `accountId`, `authNonce`, unused `nonce`, Unix-second `deadline`, 32-byte `triggerId`, and `signature`.
</ParamField>

<ParamField body="authorization7702" type="object | null">Normally `null` after onboarding.</ParamField>

<RequestExample>
  ```curl cURL theme={null}
  curl --request POST --url https://relay.mainnet.kuru.io/relay \
    --header "Authorization: Bearer $KURU_RELAY_JWT" \
    --header 'Content-Type: application/json' \
    --data '{"requestId":"018f5ef2-88a1-7b41-a826-4b679010f87f","method":"wallet.cancel_trigger","wallet":"0x1111111111111111111111111111111111111111","payload":{"accountId":"123","authNonce":"1","nonce":"1720000000999","deadline":"1720000030","triggerId":"0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","signature":"0x..."},"authorization7702":null}'
  ```
</RequestExample>

<ResponseExample>
  ```json BROADCAST theme={null}
  {
    "requestId": "018f5ef2-88a1-7b41-a826-4b679010f87f",
    "status": "BROADCAST",
    "txHash": "0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
    "sponsorAddress": "0xbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
    "sponsorNonce": "44",
    "transactionType": "DYNAMIC_FEE"
  }
  ```
</ResponseExample>

Verify a successful receipt and `TriggerCanceled` before treating the trigger as canceled.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.