@fairmint/canton-node-sdk
Version:
Canton Node SDK
20 lines • 609 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.GetWalletBalance = void 0;
const zod_1 = require("zod");
const core_1 = require("../../../../../core");
/**
* Get the current wallet balance including unlocked and locked quantities
*
* @example
* ```typescript
* const balance = await client.getWalletBalance();
*
* ```;
*/
exports.GetWalletBalance = (0, core_1.createApiOperation)({
paramsSchema: zod_1.z.void(),
method: 'GET',
buildUrl: (_params, apiUrl) => `${apiUrl}/api/validator/v0/wallet/balance`,
});
//# sourceMappingURL=get-balance.js.map