UNPKG

@fairmint/canton-node-sdk

Version:
22 lines 730 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.GetLatestPrunedOffsets = void 0; const core_1 = require("../../../../../core"); const operations_1 = require("../../../schemas/operations"); const endpoint = '/v2/state/latest-pruned-offsets'; /** * Get latest pruned offsets * * @example * ```typescript * const prunedOffsets = await client.getLatestPrunedOffsets(); * * ```; */ exports.GetLatestPrunedOffsets = (0, core_1.createApiOperation)({ paramsSchema: operations_1.GetLatestPrunedOffsetsParamsSchema, method: 'GET', buildUrl: (_params, apiUrl) => `${apiUrl}${endpoint}`, buildRequestData: () => ({}), }); //# sourceMappingURL=get-latest-pruned-offsets.js.map