// Copyright 2017-2026 @pezkuwi/api-derive authors & contributors // SPDX-License-Identifier: Apache-2.0 import { all } from './all.js'; export * from './account.js'; export * from './votingBalances.js'; /** * @name votingBalance * @param {( AccountId | string )} address An accounts Id in different formats. * @returns An object containing the results of various balance queries * @example *
* * ```javascript * const ALICE = 'F7Hs'; * * api.derive.balances.votingBalance(ALICE, ({ accountId, lockedBalance }) => { * console.log(`The account ${accountId} has a locked balance ${lockedBalance} units.`); * }); * ``` */ const votingBalance = all; export { all, votingBalance };