Skip to content
This new developer portal is under construction. For complete documentation, please refer to the old developer portal.

Disassemble program bytes into the TEAL source code.

POST
/v2/teal/disassemble

Given the program bytes, return the TEAL source code in plain text. This endpoint is only enabled when a node’s configuration file sets EnableDeveloperAPI to true.

Authorizations

Request Body required

TEAL program binary to be disassembled

string format: byte

Responses

200

Teal disassembly Result

object
result
required

Disassembled Teal code

string

400

Bad Request - Teal Compile Error

An error response with optional data field.

object
data
object
message
required
string

401

Invalid API Token

An error response with optional data field.

object
data
object
message
required
string

404

Developer API not enabled

500

Internal Error

An error response with optional data field.

object
data
object
message
required
string

default

Unknown Error