PHP WebShell
Текущая директория: /opt/BitGoJS/node_modules/@substrate/txwrapper-substrate/lib/methods/foreignAssets
Просмотр файла: transferKeepAlive.d.ts
import { AnyJson } from '@polkadot/types/types';
import { Args, BaseTxInfo, OptionsWithMeta, UnsignedTransaction } from '@substrate/txwrapper-core';
export interface ForeignAssetsTransferKeepAliveArgs extends Args {
/**
* The identifier of the foreignAsset to have some amount transferred formatted as a MultiLocation.
*/
id: AnyJson;
/**
* The account to be credited.
*/
target: string;
/**
* The amount by which the sender's balance of foreignAssets should be reduced and
* `target`'s balance increased. The amount actually transferred may be slightly greater in
* the case that the transfer would otherwise take the sender balance above zero but below
* the minimum balance. Must be greater than zero.
*/
amount: number | string;
}
/**
* Move some foreignAssets from the sender account to another, keeping the sender account alive.
*
* @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 transferKeepAlive(args: ForeignAssetsTransferKeepAliveArgs, info: BaseTxInfo, options: OptionsWithMeta): UnsignedTransaction;
Выполнить команду
Для локальной разработки. Не используйте в интернете!