# Increase Nonce

## API Increase nonce structure:

User have option to invalidate all its ongoing orders onchain by increasing his nonce in layer akira contract, if he afraid that exchange exchange can compromised and starts performing malicious activity.

Users can increase nonce through the Exchange by submitting a request to the Exchange. This will be processed without delays. &#x20;

The user must cover the *gas fee* associated with this action

```json
{
    "maker": "str",
    "new_nonce": "int",
    "gas_fee": {"type": "GasFee", "fields": "gas_fee_scheme"},
    "salt": "int",
    "sign": {"type": "list", "min": 2, "max": 2, "item_schema": {"type": "int", "min": 0}}, 
}
```

{% hint style="info" %}
Note when building typed message for the increase nonce user should use actual addresses of tokens
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://layer-akira.gitbook.io/layerakira-documentation/integration/trading/increase-nonce.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
