# TRON Charts > Public documentation for the TRON Charts API — trading, real-time market and > account state, launching a white-label DEX, and launching an on-chain prop firm. Full corpus in one file: https://api.troncharts.xyz/llms-full.txt ## Start here - [Overview](https://docs.troncharts.xyz/docs/start/overview/): What the TRON Charts API covers, who each surface is for, and how the pieces fit together. - [Quickstart](https://docs.troncharts.xyz/docs/start/quickstart/): Mint a bearer token, read account state, and place your first order intent. - [Base URLs & discovery](https://docs.troncharts.xyz/docs/start/base-urls/): Environments, the two public prefixes, and why you should never hardcode a venue or symbol list. - [Conventions](https://docs.troncharts.xyz/docs/start/conventions/): Idempotency, pagination, rate limits, decimals, and the error envelope. ## Authentication - [Credentials & tokens](https://docs.troncharts.xyz/docs/auth/credentials/): Get a credential, exchange it for a bearer token, and know when to use a cookie session instead. - [Trader vs operator credentials](https://docs.troncharts.xyz/docs/auth/audiences/): Two audiences share one API. Which credential you hold decides which half of it you can reach — and no credential is ever both. - [Scopes & tiers](https://docs.troncharts.xyz/docs/auth/scopes/): Two independent gates — what your credential may reach, and how far it may write. - [Tenancy](https://docs.troncharts.xyz/docs/auth/tenancy/): How a request resolves to a tenant, what an operator controls, and the isolation rule everything rests on. - [Trust & custody model](https://docs.troncharts.xyz/docs/auth/trust-model/): What the platform can sign, what it can never move, and why partners integrate at the API rather than at the wallet. ## Trading - [Orders & OMS](https://docs.troncharts.xyz/docs/trading/orders/): Compose, cancel, modify, flatten, reverse, and attach brackets — one order surface across every venue. - [Order lifecycle & signing](https://docs.troncharts.xyz/docs/trading/order-lifecycle/): Poll an intent, list your intents, and finish an order that is waiting on your signature. - [Accounts & positions](https://docs.troncharts.xyz/docs/trading/accounts/): Read balance, margin, positions, orders, trades, fills, and funding — and reconcile them against reports. - [Market data](https://docs.troncharts.xyz/docs/trading/market-data/): Candles, depth, tape, marks, quotes, and FX — the REST snapshots behind the live channels. - [Smart order routing](https://docs.troncharts.xyz/docs/trading/routing/): Place a routed order, and read the best-execution audit trail and savings summary behind it. ## Real-time - [Connecting](https://docs.troncharts.xyz/docs/realtime/connecting/): Authenticate a socket, hold it open, choose an encoding, and recover from a drop. - [Market channel](https://docs.troncharts.xyz/docs/realtime/market/): /ws/market — depth, order book, tape, volume-at-price, BBO, and candle updates. - [Risk channel](https://docs.troncharts.xyz/docs/realtime/risk/): /ws/risk — account state, positions, order lifecycle, and fills on one bidirectional connection. - [Quotes channel](https://docs.troncharts.xyz/docs/realtime/quotes/): /ws/quotes — the canonical multi-venue mark per symbol. - [Webhooks](https://docs.troncharts.xyz/docs/realtime/webhooks/): Server-initiated POSTs for account, tenant, and trade events — envelope, headers, retries, and how to verify one. ## Launch a DEX - [Launch a DEX](https://docs.troncharts.xyz/docs/launch/dex/): Stand up a white-label trading venue under your own brand, backed by the platform's execution, market-data, and risk engine. ## Launch a prop firm - [Launch a prop firm](https://docs.troncharts.xyz/docs/launch/prop-firm/): Stand up an on-chain funded-trader program end to end — templates, deploy, deposits, payouts. Custody stays at your multisig. - [Prop account model](https://docs.troncharts.xyz/docs/launch/prop-accounts/): The lifecycle, the rule catalog, hard enforcement, and how the funded-account payout ceiling works. - [How an account is configured](https://docs.troncharts.xyz/docs/launch/account-configuration/): Trading groups, challenge templates and risk profiles — what each one owns, which you actually write, and how they land on a new account. ## Sandbox & testing - [Sandbox & testing](https://docs.troncharts.xyz/docs/sandbox/overview/): Rehearse a full integration — orders, fills, streams — against a paper account that exercises the identical code path with no real money. - [Paper accounts](https://docs.troncharts.xyz/docs/sandbox/paper-accounts/): Provision a sandbox account, read it over REST, and stream it over the risk channel. - [Rehearsing a prop firm](https://docs.troncharts.xyz/docs/sandbox/rehearsing-a-firm/): Walk the whole funded-trader flow — templates, challenge, evaluation, payout worklist — before a single real deposit. - [Go-live checklist](https://docs.troncharts.xyz/docs/sandbox/go-live-checklist/): What to verify before your integration touches real money — each item tied to a real endpoint or frame. ## Recipes - [Recipes](https://docs.troncharts.xyz/docs/recipes/): One concrete task per page — the calls, in order, with working code. - [Mint a token and make your first call](https://docs.troncharts.xyz/docs/recipes/mint-a-token/): Exchange an API key and secret for a 24-hour bearer token, then prove it works. - [Create a paper account to test against](https://docs.troncharts.xyz/docs/recipes/create-a-paper-account/): Provision a funded simulated account in one call, then read it back. - [Read balance, positions and open orders](https://docs.troncharts.xyz/docs/recipes/read-account-state/): The three account reads every integration starts from. - [Place your first order](https://docs.troncharts.xyz/docs/recipes/place-your-first-order/): Compose an order intent on a paper account, then send the same call to a live venue. - [Attach a take-profit and stop-loss](https://docs.troncharts.xyz/docs/recipes/attach-a-bracket/): Protect an open position with two reduce-only legs that cancel each other. - [Split a take-profit across several targets](https://docs.troncharts.xyz/docs/recipes/place-a-scale-out-ladder/): Close a position in up to three rungs, each its own reduce-only limit in the same OCO group. - [Cancel an order or close a position](https://docs.troncharts.xyz/docs/recipes/cancel-and-flatten/): Kill one working order, flatten a symbol, or flip it to the other side. - [Stream account and position updates](https://docs.troncharts.xyz/docs/recipes/stream-account-updates/): Mint a handshake token, authenticate a /ws/risk socket, and subscribe to the topics carrying balance, positions and orders. - [Stream depth and the trade tape](https://docs.troncharts.xyz/docs/recipes/stream-market-data/): Open the public /ws/market socket and subscribe to the aggregated book and the trade prints for one venue and symbol. - [Follow an order from placement to fill](https://docs.troncharts.xyz/docs/recipes/track-an-order/): Subscribe to the order topics first, place through REST, and read the whole lifecycle off the /ws/risk frames. - [Create a prop firm challenge template](https://docs.troncharts.xyz/docs/recipes/create-a-challenge-template/): Publish the product a trader buys — account size, fee, payout split, and the rules that judge the run. - [Create a risk profile and bind it to an account](https://docs.troncharts.xyz/docs/recipes/create-a-risk-profile/): Author a reusable rule set once, then attach it to the accounts it governs. - [Create a trading group and add an account](https://docs.troncharts.xyz/docs/recipes/create-a-trading-group/): Define fees, leverage and venue scope once, then point accounts at it. - [Sell a paper prop account from a template](https://docs.troncharts.xyz/docs/recipes/sell-a-paper-challenge/): Turn a challenge template into a running evaluation in one call, with no payment step. - [Connect the MCP server to your dev tool](https://docs.troncharts.xyz/docs/recipes/connect-the-mcp-server/): Give Claude Code, Claude Desktop or Cursor a set of callable tools instead of an API to remember. - [Brand a tenant](https://docs.troncharts.xyz/docs/recipes/brand-a-tenant/): Set the name, logos, theme tokens and feature flags for one tenant over the API. ## SDKs & tools - [TypeScript SDK](https://docs.troncharts.xyz/docs/sdks/typescript/): A typed client over the REST surface and the risk WebSocket. - [MCP server](https://docs.troncharts.xyz/docs/sdks/mcp/): Agent-callable tools for firm operations, over stdio or Streamable HTTP. - [Build with an AI agent](https://docs.troncharts.xyz/docs/sdks/ai-agents/): Hand the integration to an agent — feed it the docs, or connect the MCP server. ## API reference - [WebSocket reference](https://docs.troncharts.xyz/docs/reference/websocket/): Every frame on every channel, with the tier each one requires. - [Raw specs](https://docs.troncharts.xyz/docs/reference/specs/): The OpenAPI and AsyncAPI source documents, and what to do with them. ## Trust & transparency - [How verification works](https://docs.troncharts.xyz/docs/verify/how-it-works/): What a firm's public proof page shows, where each number comes from, and what "solvent" means here. ## Machine-readable specs - [OpenAPI 3.1](https://docs.troncharts.xyz/docs/openapi.yaml): the full REST contract. - [AsyncAPI 2.6](https://docs.troncharts.xyz/docs/asyncapi.yaml): WebSocket frames and webhook payloads. - [Runtime discovery](https://api.troncharts.xyz/api/v1/discovery): every endpoint with its required credential tier, as JSON. No auth.