POSTDecode opcodes and bodies (POST)

TON Mainnethttps://ton-mainnet.nodit.io/api/v3/decode
CU10

Decode opcodes and message bodies. Opcodes can be in hexadecimal (with or without the 0x prefix) or decimal format. Bodies can be in base64 or hexadecimal format. Use POST for long parameters that may be truncated in GET requests.

Request Body
bodiesstring[]

List of message bodies to decode, in base64 or hexadecimal format. Up to 1000 items.

opcodesstring[]

An unprefixed value that parses as unsigned 32-bit hexadecimal is interpreted as hexadecimal.

Responses
bodiesobject[]

Decoded message bodies, in the same order as the bodies passed in the request. Each item is an object whose fields depend on the recognized message type.

opcodesstring[]

Decoded names of the requested opcodes, in the same order as the opcodes passed in the request, for example jetton_transfer.

X-API-KEY
Request
cURL
curl -X POST "https://ton-mainnet.nodit.io/api/v3/decode" \
  -H "X-API-KEY: {YOUR_API_KEY}" \
  -H "Content-Type: application/json" \
  -d '{
    "opcodes": [
      "0x0f8a7ea5",
      "0x7362d09c"
    ]
  }'
Response
Example · 200
{
  "opcodes": [
    "jetton_transfer",
    "jetton_notify"
  ],
  "bodies": []
}