For AI Assistants
Use this guide to find and read onchain.cc documentation with an AI assistant. Every documentation page has a plain Markdown version, and the indexes below update with the published docs.
Start here
Section titled “Start here”- Read the documentation index. It lists every published page by topic, with a short description and a Markdown link.
- Fetch the pages relevant to your question. Follow their links when more context is needed.
- Cite the visual documentation pages in your answer so readers can check the source.
The complete documentation combines every page into one text file. Use it when you need broad context and your assistant can accept a larger document; the index and individual pages are usually enough for a focused question.
Give your assistant a starting point
Section titled “Give your assistant a starting point”Copy this prompt into an assistant that can read web pages, then add your question:
Use the official onchain.cc documentation to answer my question.Start with https://onchain.cc/docs/llms.txt and fetch the relevantMarkdown pages linked there. Navigation guidance is available athttps://onchain.cc/docs/resources/ai-assistants.md.
Base your answer on the pages you actually read. Cite their visualonchain.cc/docs/ URLs. Keep documented facts separate from inferences.If the docs do not answer something, say what is missing rather thaninventing product behavior, fees, limits, or API endpoints.If you cannot fetch the pages, ask me to paste their Markdown.
My question:If your assistant cannot browse, use Copy page on the relevant docs and paste the Markdown into your conversation. View as Markdown opens the plain text directly. Open in ChatGPT and Open in Claude open the assistant with a prompt referencing the current page; fetching the page depends on the assistant’s capabilities.
Find the right topic
Section titled “Find the right topic”| Topic | Start with |
|---|---|
| Getting started, funding, and wallets | Quick Start Guide, Funding Your Account, Wallets |
| Product terminology | Key Concepts & Glossary |
| Spot trading and order types | Spot Overview, Order Types, Spot Fees |
| Perpetuals, leverage, and funding | Perps Overview, Leverage & Margin, Fees & Funding |
| Token discovery and Trenches trading | Trenches Overview, Finding Tokens |
| Prediction markets | Predictions Overview, Positions, Resolution & Claiming |
| Cross-chain swaps | Cross-Chain Swap, Swap Fees |
| Portfolio, dashboard, and charts | Portfolio, Dashboard, Charts |
| Colosseum rewards and progression | What is Colosseum?, Rank System, Cashback |
| Common questions and support | FAQ, Support & Community |
URLs and citations
Section titled “URLs and citations”The public documentation lives under https://onchain.cc/docs/. For an ordinary page, replace the trailing slash with .md to read its Markdown:
- Visual page:
https://onchain.cc/docs/spot/overview/ - Markdown:
https://onchain.cc/docs/spot/overview.md - Home page:
https://onchain.cc/docs/ - Home page Markdown:
https://onchain.cc/docs/index.md
The index provides the exact URLs, including pages whose public paths differ from their source filenames. Markdown links to other docs lead to their Markdown versions. When citing a source for a reader, convert it back to the visual URL using the pattern above. The complete documentation also lists each page’s visual URL.
These files describe the product; they do not provide live account data or execute actions. If sources conflict or information is missing, explain the gap and point the reader to the relevant documentation or support page.