@fairmint/canton-node-sdk
Version:
Canton Node SDK
19 lines • 726 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.GetUserStatus = void 0;
const zod_1 = require("zod");
const core_1 = require("../../../../../core");
/**
* @description Get the current user status including onboarding and wallet installation status
* @example
* ```typescript
* const status = await client.getUserStatus();
* console.log(`User onboarded: ${status.user_onboarded}, Wallet installed: ${status.user_wallet_installed}`);
* ```
*/
exports.GetUserStatus = (0, core_1.createApiOperation)({
paramsSchema: zod_1.z.void(),
method: 'GET',
buildUrl: (_params, apiUrl) => `${apiUrl}/api/validator/v0/wallet/user-status`,
});
//# sourceMappingURL=get-user-status.js.map