BOC Parsing Tools
More Coming Soon...
BOC Parsing Tools
For JSON-RPC Request
Know if your BOC request is good to go.
REQUEST
RESULTS
Click Try It! ↗️ to start a request and see the response here!
Frequently Asked Questions
What is BOC (Bag of cells)?
How to Use?
You will need a TONX API key to use this tool.
How to apply for a TONX API Key: Register for a TONX API account at https://auth.tonxapi.com. Once registered, you can generate the appropriate environment key (mainnet or testnet) that you would like to use. It’s completely free.
Common Mistakes
- The input string is shorter than the required length for a valid BoC.
- A valid BoC string must start with 0xB5EE9C72.
- The checksum in the input string does not match the actual value.
- The input string contains incorrect flag bits.
- The number of cells implied by the input string does not match its total length.
- The variable type implied by the input string does not match its actual length.
- The input string could not be successfully parsed into an array of cells.
- The input string contains more than four references or contains invalid references.
- The input string does not comply with the rules for a valid BoC (e.g., acyclic references and index of child cell must be larger than parent cell index).