TON DocsTON Docs
OnboardingNodesApplicationsAPIsSmart contractsTolkTolk languageTVMTON Virtual MachineFoundationsBlockchain foundations

Decode Opcodes and Bodies (GET)

GET
/api/v3/decode

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.

Query Parameters

opcodes?array<string>

List of opcodes to decode (hex or decimal)

bodies?array<string>

List of message bodies to decode (base64 or hex)

Response Body

application/json

application/json

curl -X GET "https://example.com/api/v3/decode"
{
  "bodies": [
    {}
  ],
  "opcodes": [
    "string"
  ]
}
{
  "code": 0,
  "error": "string"
}