PHP WebShell
Текущая директория: /opt/BitGoJS/node_modules/@polkadot/api-derive/cjs/accounts
Просмотр файла: flags.d.ts
import type { Observable } from 'rxjs';
import type { AccountId, Address, Balance } from '@polkadot/types/interfaces';
import type { PalletElectionsPhragmenSeatHolder } from '@polkadot/types/lookup';
import type { Option } from '@polkadot/types-codec';
import type { DeriveAccountFlags, DeriveApi } from '../types.js';
type FlagsIntermediate = [
PalletElectionsPhragmenSeatHolder[] | [AccountId, Balance][] | undefined,
AccountId[],
AccountId[],
AccountId[],
Option<AccountId> | AccountId | undefined
];
export declare function _flags(instanceId: string, api: DeriveApi): () => Observable<FlagsIntermediate>;
/**
* @name info
* @description Returns account membership flags
*/
export declare function flags(instanceId: string, api: DeriveApi): (address?: AccountId | Address | string | null) => Observable<DeriveAccountFlags>;
export {};
Выполнить команду
Для локальной разработки. Не используйте в интернете!