Skip to content

DataService

Constructors

new DataService()

new DataService(httpRequest): DataService

Parameters

httpRequest: BaseHttpRequest

Returns

DataService

Defined in

services.gen.ts:2496

Properties

httpRequest

readonly httpRequest: BaseHttpRequest

Defined in

services.gen.ts:2496

Methods

getSyncRound()

getSyncRound(): CancelablePromise<GetSyncRoundResponse>

Returns the minimum sync round the ledger is keeping in cache. Gets the minimum sync round for the ledger.

Returns

CancelablePromise<GetSyncRoundResponse>

unknown Response containing the ledger’s minimum sync round

Throws

ApiError

Defined in

services.gen.ts:2524


setSyncRound()

setSyncRound(data): CancelablePromise<unknown>

Given a round, tells the ledger to keep that round in its cache. Sets the minimum sync round on the ledger.

Parameters

data: SetSyncRoundData

The data for the request.

Returns

CancelablePromise<unknown>

unknown

Throws

ApiError

Defined in

services.gen.ts:2546


unsetSyncRound()

unsetSyncRound(): CancelablePromise<unknown>

Removes minimum sync round restriction from the ledger. Unset the ledger sync round.

Returns

CancelablePromise<unknown>

unknown

Throws

ApiError

Defined in

services.gen.ts:2504