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