mirror of
https://github.com/pezkuwichain/pezkuwi-api.git
synced 2026-11-26 15:39:55 +00:00
Rebrand: polkadot → pezkuwi, substrate → bizinikiwi, kusama → dicle
This commit is contained in:
commit
d5f038faea
1383 files changed
+1088018
No files matched your search
@@ -0,0 +1,26 @@
|
||||
// Copyright 2017-2025 @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
|
||||
* <BR>
|
||||
*
|
||||
* ```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 };
|
||||
Reference in new issue
Block a user