@fairmint/canton-node-sdk
Version:
Canton Node SDK
19 lines • 846 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.LookupTransferCommandCounterByParty = void 0;
const core_1 = require("../../../../../core");
const operations_1 = require("../../../schemas/operations");
/**
* @description Lookup transfer command counter by party
* @example
* ```typescript
* const counter = await client.lookupTransferCommandCounterByParty({ party: 'party123' });
* console.log(`Counter: ${counter.counter}`);
* ```
*/
exports.LookupTransferCommandCounterByParty = (0, core_1.createApiOperation)({
paramsSchema: operations_1.LookupTransferCommandCounterByPartyParamsSchema,
method: 'GET',
buildUrl: (params, apiUrl) => `${apiUrl}/api/validator/v0/scan-proxy/transfer-commands/${params.party}/counter`,
});
//# sourceMappingURL=lookup-transfer-command-counter-by-party.js.map
;