PHP WebShell

Текущая директория: /opt/BitGoJS/node_modules/@substrate/txwrapper-substrate/lib/methods/staking

Просмотр файла: withdrawUnbonded.d.ts

import { Args, BaseTxInfo, OptionsWithMeta, UnsignedTransaction } from '@substrate/txwrapper-core';
export interface StakingWithdrawUnbondedArgs extends Args {
    numSlashingSpans: number;
}
/**
 * If 100% of staked funds are withdrawn, cleans up staking-related
 * storage for the account and decrements the ref_count. Note that accounts
 * that set session keys must remove them before calling this, else they will
 * lose their Controller status and be unable to remove them
 * without bonding some funds again.
 *
 * Can only be called when `EraElectionStatus` is `Closed`.
 *
 * @param args - Arguments specific to this method.
 * @param info - Information required to construct the transaction.
 * @param options - Registry and metadata used for constructing the method.
 */
export declare function withdrawUnbonded(args: StakingWithdrawUnbondedArgs, info: BaseTxInfo, options: OptionsWithMeta): UnsignedTransaction;

Выполнить команду


Для локальной разработки. Не используйте в интернете!