PHP WebShell
Текущая директория: /opt/BitGoJS/node_modules/@substrate/txwrapper-substrate/lib/methods/staking
Просмотр файла: unbond.d.ts
import { Args, BaseTxInfo, OptionsWithMeta, UnsignedTransaction } from '@substrate/txwrapper-core';
export interface StakingUnbondArgs extends Args {
/**
* The number of tokens to unbond.
*/
value: number | string;
}
/**
* Construct a transaction to unbond funds from a Stash account. This must be
* called by the _Controller_ account.
*
* 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 unbond(args: StakingUnbondArgs, info: BaseTxInfo, options: OptionsWithMeta): UnsignedTransaction;
Выполнить команду
Для локальной разработки. Не используйте в интернете!