Class TealDisassemble
- java.lang.Object
-
- com.algorand.algosdk.v2.client.common.Query
-
- com.algorand.algosdk.v2.client.algod.TealDisassemble
-
public class TealDisassemble extends Query
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. /v2/teal/disassemble
-
-
Constructor Summary
Constructors Constructor Description TealDisassemble(Client client)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Response<DisassembleResponse>
execute()
Execute the query.Response<DisassembleResponse>
execute(String[] headers, String[] values)
Execute the query with custom headers, there must be an equal number of keys and values or else an error will be generated.protected QueryData
getRequestString()
TealDisassemble
source(byte[] source)
TEAL program binary to be disassembled-
Methods inherited from class com.algorand.algosdk.v2.client.common.Query
addPathSegment, addQuery, addToBody, addToBody, baseExecute, baseExecute, getRequestMethod, getRequestUrl, getRequestUrl, resetPathSegment
-
-
-
-
Constructor Detail
-
TealDisassemble
public TealDisassemble(Client client)
-
-
Method Detail
-
source
public TealDisassemble source(byte[] source)
TEAL program binary to be disassembled
-
execute
public Response<DisassembleResponse> execute() throws Exception
Execute the query.
-
execute
public Response<DisassembleResponse> execute(String[] headers, String[] values) throws Exception
Execute the query with custom headers, there must be an equal number of keys and values or else an error will be generated.
-
getRequestString
protected QueryData getRequestString()
- Specified by:
getRequestString
in classQuery
-
-