Class 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 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​(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.
        Specified by:
        execute in class Query
        Parameters:
        headers - an array of header keys
        values - an array of header values
        Returns:
        the query response object.
        Throws:
        Exception