Decode opcodes and message bodies. Opcodes can be in hex (with or without 0x prefix) or decimal format. Bodies should be in base64 or hex format. Use POST method for long parameters that may be truncated in GET requests.
cURL
curl --request POST \ --url https://toncenter.com/api/v3/decode \ --header 'Content-Type: application/json' \ --data ' { "bodies": [ "<string>" ], "opcodes": [ "<string>" ] } '
{ "bodies": [ {} ], "opcodes": [ "<string>" ] }
OK
Was this page helpful?