Class SetSyncRound


  • public class SetSyncRound
    extends Query
    Sets the minimum sync round on the ledger. /v2/ledger/sync/{round}
    • Constructor Detail

      • SetSyncRound

        public SetSyncRound​(Client client,
                            Long round)
        Parameters:
        round - The round for which the deltas are desired.
    • Method Detail

      • execute

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