@fairmint/canton-node-sdk
Version:
Canton Node SDK
21 lines • 1.02 kB
TypeScript
import { type z } from 'zod';
import type { paths } from '../../../../../generated/canton/community/ledger/ledger-json-api/src/test/resources/json-api-docs/openapi';
import { GetLatestPrunedOffsetsParamsSchema } from '../../../schemas/operations';
declare const endpoint: "/v2/state/latest-pruned-offsets";
export type GetLatestPrunedOffsetsParams = z.infer<typeof GetLatestPrunedOffsetsParamsSchema>;
export type GetLatestPrunedOffsetsResponse = paths[typeof endpoint]['get']['responses']['200']['content']['application/json'];
/**
* Get latest pruned offsets
*
* @example
* ```typescript
* const prunedOffsets = await client.getLatestPrunedOffsets();
*
* ```;
*/
export declare const GetLatestPrunedOffsets: new (client: import("../../../../../core").BaseClient) => import("../../../../../core").ApiOperation<Record<string, never>, {
participantPrunedUpToInclusive: number;
allDivulgedContractsPrunedUpToInclusive: number;
}>;
export {};
//# sourceMappingURL=get-latest-pruned-offsets.d.ts.map