TONTONDocs
TON CenterAPI referenceUtilities

Decode opcodes and bodies (GET)

Decode opcodes and message bodies. Opcodes accepted in hex (with or without `0x`) or decimal.

GET
/api/v3/decode
array<string>
array<string>

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?opcodes=0xf8a7ea5&opcodes=0x178d4519"
{
  "bodies": [
    {}
  ],
  "opcodes": [
    "string"
  ]
}
{
  "code": 0,
  "error": "string"
}

Last updated on

On this page

No Headings