Disassemble program bytes into the TEAL source code.
POST /v2/teal/disassemble
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
Section titled “Authorizations ”Request Body required
Section titled “Request Body required ”TEAL program binary to be disassembled
string format: byte
Responses
Section titled “ Responses ”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
default
Section titled “default ”Unknown Error