Class TealDryrun
- java.lang.Object
-
- com.algorand.algosdk.v2.client.common.Query
-
- com.algorand.algosdk.v2.client.algod.TealDryrun
-
public class TealDryrun extends Query
Executes TEAL program(s) in context and returns debugging information about the execution. This endpoint is only enabled when a node's configuration file sets EnableDeveloperAPI to true. /v2/teal/dryrun
-
-
Constructor Summary
Constructors Constructor Description TealDryrun(Client client)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Response<DryrunResponse>
execute()
Execute the query.Response<DryrunResponse>
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()
TealDryrun
request(DryrunRequest request)
Transaction (or group) and any accompanying state-simulation data.-
Methods inherited from class com.algorand.algosdk.v2.client.common.Query
addPathSegment, addQuery, addToBody, addToBody, baseExecute, baseExecute, getRequestMethod, getRequestUrl, getRequestUrl, resetPathSegment
-
-
-
-
Constructor Detail
-
TealDryrun
public TealDryrun(Client client)
-
-
Method Detail
-
request
public TealDryrun request(DryrunRequest request) throws com.fasterxml.jackson.core.JsonProcessingException
Transaction (or group) and any accompanying state-simulation data.- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
execute
public Response<DryrunResponse> execute() throws Exception
Execute the query.
-
execute
public Response<DryrunResponse> 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
-
-