@fairmint/canton-node-sdk
Version:
Canton Node SDK
23 lines • 744 B
JavaScript
;
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(),
});
/**
* Lookup ANS entry by party
*
* @example
* ```typescript
* const entry = await client.lookupAnsEntryByParty({ party: 'party123' });
*
* ```;
*/
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