TONTONDocs
TON CenterAPI referenceUtilities

Decode opcodes and bodies (POST)

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

POST
/api/v3/decode
*object
array<string>
array<string>

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/api/v3/decode" \  -H "Content-Type: application/json" \  -d '{    "opcodes": [      "0xf8a7ea5",      "0x178d4519"    ]  }'
{
  "bodies": [
    {}
  ],
  "opcodes": [
    "string"
  ]
}
{
  "code": 0,
  "error": "string"
}

Last updated on

On this page

No Headings