# FOR DEVELOPERS

- [Quickstart](https://docs.dimes.fi/for-developers/quickstart.md): The six-step integration path. Authenticate, list markets, quote, open, monitor, close.
- [SDK Installation](https://docs.dimes.fi/for-developers/sdk-installation.md): Install the TypeScript SDK and set up the client for server-side, browser, or React applications.
- [Environments](https://docs.dimes.fi/for-developers/environments.md): Dimes Multiply runs two fully isolated environments: production and sandbox. Pick one per integration and point all your traffic (REST, WebSocket, API keys) at the same environment.
- [Sandbox](https://docs.dimes.fi/for-developers/sandbox.md): Sandbox is a fully deployed, isolated Multiply environment running on Polygon mainnet against fake USDC and fake outcome tokens. Build and test your integration end-to-end with no funds at risk.
- [Contract Addresses](https://docs.dimes.fi/for-developers/contract-addresses.md): Canonical list of Dimes Multiply contract and token addresses on Polygon mainnet. Use these to verify on Polygonscan before approving any spend.
- [Authentication](https://docs.dimes.fi/for-developers/authentication.md): Dimes uses a two-tier authentication model: API keys for partner-level operations and short-lived JWTs for user-scoped actions.
- [On-Chain Integration](https://docs.dimes.fi/for-developers/on-chain-integration.md): How to submit on-chain transactions to open and close leveraged positions, and what the backend handles automatically after each step.
- [Smart Wallet Integration](https://docs.dimes.fi/for-developers/smart-wallet-integration.md): How to open and close leveraged positions from Polymarket smart-contract wallets — Safe, Proxy, and the push-funded deposit wallet flow used by new API users.
- [API Reference](https://docs.dimes.fi/for-developers/api-reference.md): Complete reference for all Dimes Multiply endpoints. For a guided walkthrough, see Quickstart.
- [WebSocket Events](https://docs.dimes.fi/for-developers/websocket.md): Receive real-time position updates via WebSocket. All position state changes are delivered as events over a persistent Socket.IO connection.
- [Error Handling](https://docs.dimes.fi/for-developers/error-handling.md): All errors follow a consistent format. Every error response includes an error type, a machine-readable code, and a human-readable message.
- [UI Guidelines](https://docs.dimes.fi/for-developers/ui-guidelines.md): Reference implementations for the key interface elements in a Multiply integration. Each component below includes a visual reference and the corresponding API fields mapped.
- [Media](https://docs.dimes.fi/for-developers/media.md): Dimes media assets


---

# 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://docs.dimes.fi/for-developers.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.
