PHP WebShell
Текущая директория: /opt/BitGoJS/node_modules/@substrate/txwrapper-substrate/lib/methods/staking
Просмотр файла: bondExtra.d.ts
import { Args, BaseTxInfo, OptionsWithMeta, UnsignedTransaction } from '@substrate/txwrapper-core';
export interface StakingBondExtraArgs extends Args {
/**
* The maximum amount to bond.
*/
maxAdditional: number | string;
}
/**
* Add some extra amount from the stash's `free_balance` into
* the balance up for staking.
*
* 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 bondExtra(args: StakingBondExtraArgs, info: BaseTxInfo, options: OptionsWithMeta): UnsignedTransaction;
Выполнить команду
Для локальной разработки. Не используйте в интернете!