Skip to content

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.

TEAL program binary to be disassembled

string format: byte

Teal disassembly Result

object
result
required

Disassembled Teal code

string

Bad Request - Teal Compile Error

An error response with optional data field.

object
data
object
message
required
string

Invalid API Token

An error response with optional data field.

object
data
object
message
required
string

Developer API not enabled

Internal Error

An error response with optional data field.

object
data
object
message
required
string

Unknown Error