- 
                Notifications
    You must be signed in to change notification settings 
- Fork 112
docs: add TON RPC reference documentation #663
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Co-Authored-By: [email protected] <[email protected]>
| 🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically: 
 Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options: 
 | 
| @devin-ai-integration[bot] Please review the tone of voice for the content changes in this PR against Reown's brand guidelines. 📝 Content Review RequestFiles to review: 1 
 Review focus: 
 Guidelines summary: 
 Please analyze the content changes and provide constructive feedback on tone and voice alignment. | 
- Replace placeholder methods with official ton_sendMessage and ton_signData - Add network/chain information table with CAIP-2 chain IDs - Include WalletConnect RPC proxy endpoint configuration - Update request/response formats to match official specification - Add detailed type definitions for all parameters - Include notes on wallet implementation requirements Co-Authored-By: [email protected] <[email protected]>
| @devin-ai-integration[bot] Please review the tone of voice for the content changes in this PR against Reown's brand guidelines. 📝 Content Review RequestFiles to review: 1 
 Review focus: 
 Guidelines summary: 
 Please analyze the content changes and provide constructive feedback on tone and voice alignment. | 
…proxy - Change table header from 'CAIP-2 / CAIP-25 Chain ID' to just 'CAIP-2' - Remove WalletConnect RPC proxy endpoint section Co-Authored-By: [email protected] <[email protected]>
| @devin-ai-integration[bot] Please review the tone of voice for the content changes in this PR against Reown's brand guidelines. 📝 Content Review RequestFiles to review: 1 
 Review focus: 
 Guidelines summary: 
 Please analyze the content changes and provide constructive feedback on tone and voice alignment. | 
…ON RPC Co-Authored-By: [email protected] <[email protected]>
| @devin-ai-integration[bot] Please review the tone of voice for the content changes in this PR against Reown's brand guidelines. 📝 Content Review RequestFiles to review: 1 
 Review focus: 
 Guidelines summary: 
 Please analyze the content changes and provide constructive feedback on tone and voice alignment. | 
Description
This PR adds technical clarification to the TON RPC documentation's
ton_sendMessagesuccess response section. Based on user feedback, the documentation now includes:Disclaimer note: Added a
<Note>component explaining that thebase64bocEncodedTransactionresult is a base64 encoded BOC (Bag of Cells) of an external message.Code example: Added a TypeScript code snippet demonstrating how to build an external-in message, which is what the response represents. This helps developers understand the structure and how to construct similar messages.
The changes are focused on improving developer understanding of the response format for the
ton_sendMessageRPC method.Tests
pnpm run spell) - 0 issues foundImportant Review Items
Message,Address.parse(),beginCell(), etc.)transfervariable is referenced but not defined in the snippet - this may be intentional to show where transaction data goes, but please verify this is clear enough<Note>component renders correctly in the deployed preview and is the appropriate way to add technical notes in the RPC reference section.Direct link to the deployed preview files
Devin Session: https://app.devin.ai/sessions/8f2bbd850e994568be56475deb6eb995
Requested by: [email protected] (@ganchoradkov)