UNPKG

@fairmint/canton-node-sdk

Version:
29 lines 1.02 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.GenerateExternalPartyTopology = void 0; const zod_1 = require("zod"); const core_1 = require("../../../../../core"); /** * Generate external party topology transactions * * Creates topology transactions for an external party that need to be signed and then submitted via * submitExternalPartyTopology. * * @example * ```typescript * const topology = await client.generateExternalPartyTopology({ * party_hint: 'alice', * public_key: 'hex-encoded-ed25519-public-key' * }); * ```; */ exports.GenerateExternalPartyTopology = (0, core_1.createApiOperation)({ paramsSchema: zod_1.z.object({ party_hint: zod_1.z.string(), public_key: zod_1.z.string(), }), method: 'POST', buildUrl: (_params, apiUrl) => `${apiUrl}/api/validator/v0/admin/external-party/topology/generate`, buildRequestData: (params) => params, }); //# sourceMappingURL=generate-external-party-topology.js.map