Class GetVersion


  • public class GetVersion
    extends Query
    Retrieves the supported API versions, binary build versions, and genesis information. /versions
    • Constructor Detail

      • GetVersion

        public GetVersion​(Client client)
    • Method Detail

      • execute

        public Response<Version> 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