PHP WebShell
Текущая директория: /opt/BitGoJS/node_modules/@substrate/txwrapper-substrate/lib/methods/foreignAssets
Просмотр файла: transferApproved.d.ts
import { AnyJson } from '@polkadot/types/types';
import { Args, BaseTxInfo, OptionsWithMeta, UnsignedTransaction } from '@substrate/txwrapper-core';
export interface ForeignAssetsTransferApprovedArgs extends Args {
/**
* The identifier of the foreignAsset formatted as a MultiLocation.
*/
id: AnyJson;
/**
* The account which previously approved for a transfer of at least `amount` and
* from which the foreignAsset balance will be withdrawn.
*/
owner: string;
/**
* The account to which the foreignAsset balance of `amount` will be transferred.
*/
destination: string;
/**
* The amount of foreignAssets to transfer.
*/
amount: number | string;
}
/**
* Transfer some foreignAsset balance from a previously delegated account to some third-party
* account.
*
* @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 transferApproved(args: ForeignAssetsTransferApprovedArgs, info: BaseTxInfo, options: OptionsWithMeta): UnsignedTransaction;
Выполнить команду
Для локальной разработки. Не используйте в интернете!