@fairmint/canton-node-sdk
Version:
Canton Node SDK
20 lines • 851 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.GetConnectedSynchronizers = void 0;
const core_1 = require("../../../../../core");
const operations_1 = require("../../../schemas/operations");
const endpoint = '/v2/state/connected-synchronizers';
exports.GetConnectedSynchronizers = (0, core_1.createApiOperation)({
paramsSchema: operations_1.GetConnectedSynchronizersParamsSchema,
method: 'GET',
buildUrl: (params, apiUrl) => {
const url = new URL(`${apiUrl}${endpoint}`);
if (params.party)
url.searchParams.set('party', params.party);
if (params.participantId)
url.searchParams.set('participantId', params.participantId);
return url.toString();
},
buildRequestData: () => ({}),
});
//# sourceMappingURL=get-connected-synchronizers.js.map