@fairmint/canton-node-sdk
Version:
Canton Node SDK
13 lines • 528 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.GetLedgerEnd = void 0;
const core_1 = require("../../../../../core");
const operations_1 = require("../../../schemas/operations");
const endpoint = '/v2/state/ledger-end';
exports.GetLedgerEnd = (0, core_1.createApiOperation)({
paramsSchema: operations_1.GetLedgerEndParamsSchema,
method: 'GET',
buildUrl: (_params, apiUrl) => `${apiUrl}${endpoint}`,
buildRequestData: () => ({}),
});
//# sourceMappingURL=get-ledger-end.js.map