PHP WebShell
Текущая директория: /opt/BitGoJS/node_modules/@polkadot/api-derive/staking
Просмотр файла: account.d.ts
import type { Observable } from 'rxjs';
import type { DeriveApi, DeriveStakingAccount } from '../types.js';
import type { StakingQueryFlags } from './types.js';
/**
* @description From a list of stashes, fill in all the relevant staking details
*/
export declare function accounts(instanceId: string, api: DeriveApi): (accountIds: (Uint8Array | string)[], opts?: StakingQueryFlags) => Observable<DeriveStakingAccount[]>;
/**
* @description From a stash, retrieve the controllerId and fill in all the relevant staking details
*/
export declare const account: (instanceId: string, api: DeriveApi) => (accountId: string | Uint8Array, opts?: StakingQueryFlags | undefined) => Observable<DeriveStakingAccount>;
Выполнить команду
Для локальной разработки. Не используйте в интернете!