UNPKG

@fairmint/canton-node-sdk

Version:
22 lines 785 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.LookupAnsEntryByParty = void 0; const zod_1 = require("zod"); const core_1 = require("../../../../../core"); const LookupAnsEntryByPartyParamsSchema = zod_1.z.object({ party: zod_1.z.string(), }); /** * @description Lookup ANS entry by party * @example * ```typescript * const entry = await client.lookupAnsEntryByParty({ party: 'party123' }); * console.log(`Entry: ${entry.entry}`); * ``` */ exports.LookupAnsEntryByParty = (0, core_1.createApiOperation)({ paramsSchema: LookupAnsEntryByPartyParamsSchema, method: 'GET', buildUrl: (params, apiUrl) => `${apiUrl}/api/validator/v0/scan-proxy/ans-entries/by-party/${params.party}`, }); //# sourceMappingURL=lookup-by-party.js.map