@fairmint/canton-node-sdk
Version:
Canton Node SDK
22 lines • 732 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.GetValidatorUserInfo = void 0;
const zod_1 = require("zod");
const core_1 = require("../../../../core");
/**
* Get public information about the validator operator
*
* @example
* ```typescript
* const info = await client.getValidatorUserInfo();
* console.log('User name:', info.user_name);
* console.log('Party ID:', info.party_id);
* ```;
*/
exports.GetValidatorUserInfo = (0, core_1.createApiOperation)({
paramsSchema: zod_1.z.void(),
method: 'GET',
buildUrl: (_params, apiUrl) => `${apiUrl}/api/validator/v0/validator-user`,
buildRequestData: () => ({}),
});
//# sourceMappingURL=get-validator-user-info.js.map