> For the complete documentation index, see [llms.txt](https://dexible.gitbook.io/dexible-sdk/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dexible.gitbook.io/dexible-sdk/overview/how-dexible-works/verification-and-validation.md).

# Verification and Validation

### Verification

Before Dexible will accept an order for execution, it passes through a series of checks, both in the SDK and in the infrastructure itself. These checks are to protect the trader from mistakes in order details and to protect the infrastructure from extraneous expenses.

### Digital Signatures

All interactions with the Dexible API requires a signature made from the wallet that owns the assets being traded. This ensures that only the order owner can query or manipulate the order details. In the near future, we will also support a JWT signature method such that a web-token can be retrieved and used for 24 hours before needing to be refreshed. When using the SDK from a stand-alone application, the SDK will handle signatures internally. When using from a browser-based app, JWT is likely needed or every interaction would require a signature from MetaMask, etc.

### Spend Allowance

Instead of transferring custody of assets to Dexible, traders simply grant a spend allowance for the input side of a token trade. Traders have freedom to grant whatever allowance they are comfortable with so long as it covers the amount of all active orders referencing the input token. To save on transaction fees associated with token approvals, we recommend increasing the amount to cover whatever orders you expect to push through Dexible, or a MAX\_UINT256 amount if you expect to push a lot of orders for the same token through the system.

### Token Validation

Because Dexible receives its fees in output tokens, it must ensure that it does not take on excessive exposure to extremely low-liquid tokens. This means Dexible will verify that tokens being swapped meet certain criteria to ensure the maturity and acceptance of the token in the ecosystem. One criteria is that the token is listed on CoinGecko so that USD prices can be extracted.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://dexible.gitbook.io/dexible-sdk/overview/how-dexible-works/verification-and-validation.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
