UNPKG

@fairmint/canton-node-sdk

Version:
75 lines 3.32 kB
import { type z } from 'zod'; import type { paths } from '../../../../../generated/canton/community/ledger/ledger-json-api/src/test/resources/json-api-docs/openapi'; import { GetTransactionByOffsetParamsSchema } from '../../../schemas/operations'; declare const endpoint: "/v2/updates/transaction-by-offset"; export type GetTransactionByOffsetParams = z.infer<typeof GetTransactionByOffsetParamsSchema>; export type GetTransactionByOffsetResponse = paths[typeof endpoint]['post']['responses']['200']['content']['application/json']; export declare const GetTransactionByOffset: new (client: import("../../../../../core").BaseClient) => import("../../../../../core").ApiOperation<{ offset: number; transactionFormat: { eventFormat: { filtersByParty: Record<string, { cumulative: { identifierFilter: { Empty: Record<string, never>; } | { InterfaceFilter: { value: { interfaceId: string; includeInterfaceView: boolean; includeCreatedEventBlob: boolean; }; }; } | { TemplateFilter: { value: { templateId: string; includeCreatedEventBlob: boolean; }; }; } | { WildcardFilter: { value: { includeCreatedEventBlob: boolean; }; }; }; }[]; }>; filtersForAnyParty?: { cumulative: { identifierFilter: { Empty: Record<string, never>; } | { InterfaceFilter: { value: { interfaceId: string; includeInterfaceView: boolean; includeCreatedEventBlob: boolean; }; }; } | { TemplateFilter: { value: { templateId: string; includeCreatedEventBlob: boolean; }; }; } | { WildcardFilter: { value: { includeCreatedEventBlob: boolean; }; }; }; }[]; } | undefined; verbose?: boolean | undefined; }; transactionShape: "TRANSACTION_SHAPE_ACS_DELTA" | "TRANSACTION_SHAPE_LEDGER_EFFECTS"; }; }, { transaction: import("../../../../../generated/canton/community/ledger/ledger-json-api/src/test/resources/json-api-docs/openapi").components["schemas"]["JsTransaction"]; }>; export {}; //# sourceMappingURL=get-transaction-by-offset.d.ts.map